Proverbs 22:3
The prudent see danger and take cover, but the simple keep going and suffer the consequences.
Berean Standard Bible
A prudent man foreseeth the evil, and hideth himself: but the simple pass on, and are punished.
A prudent man sees danger and hides himself; but the simple pass on, and suffer for it.