Proverbs 22:3

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