Proverbs 22:3 KJV

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