To be prudent, to act wisely, to prosper, to have success
Brown-Driver-Briggs Hebrew Lexicon
1) to be foolish, be a fool 1a) (Piel) to make foolish, turn into foolishness 1b) (Niphal) to act or do foolishly 1c) (Hiphil) to do foolishly, play the fool