Proverbs 27:12

King James Version Bible (KJV)
A prudent man foreseeth the evil, and hideth himself; but the simple pass on, and are punished.

Read Proverbs 27:12 in other translations