Proverbs 22:3

Amplified Bible (AMP)

A prudent and far-sighted person sees the evil [of sin] and hides himself [from it],
But the naive continue on and are punished [by suffering the consequences of sin].

Read Proverbs 22:3 in other translations