Proverbs 22:3 (KJV)

A prudent man foreseeth the evil, and hideth himself: but the simple pass on, and are punished.