An idle brain is the devil’s workshop. meaning

HOME PROVERBS

evil

An idle brain is the devil’s workshop.

meaning that:
It is more likely to do a bad think and get into troubles, when you have nothing to do.