proverb

The devil finds work for idle hands to do

idleness

suggests that

Idle people, who have nothing to do are more likely to get into trouble or do a mischief.