Proverbs 22:3

New American Standard Bible (NASB)
The prudent sees the evil and hides himself,
But the [b]naive go on, and are punished for it.

Read Proverbs 22:3 in other translations