Proverbs 27:12

NASB
A prudent man sees evil and hides himself, The naive proceed and pay the penalty.