Needs must when the devil drives. meaning

HOME PROVERBS

doing

Needs must when the devil drives.

said to mean that:
Sometimes we are obliged to do something that we don't like.