Solomon
Proverbs 27:12ESV·traditional attribution

The prudent sees danger and hides himself, but the simple go on and suffer for it.

Matthew Henry Presbyterian @wholebiblehenry

This we had before, Pro 22:3. Note, 1. Evil may be foreseen. Where there is temptation, it is easy to foresee that if we thrust ourselves into it there will be sin, and as easy to foresee that if we venture upon the evil of sin there will follow the evil of punishment; and, commonly, God warns before he wounds, having set watchmen over us, Jer 6:17. 2.

John Gill Reformed Baptist @doctorgill

Take his garment that is surety for a stranger, and take a pledge of him for a strange woman. See Gill on Pro 20:16, where the same proverb is, and is expressed in the same words as here. , where the same proverb is, and is expressed in the same words as here. Proverbs 27:14 pro 27:14 pro 27:14 pro 27:14He that blesseth his friend with a loud voice,....

Geneva Bible Notes Reformed @genevanotes

A prudent [man] foreseeth the evil, [and] hideth himself; [but] the simple pass on, [and] are punished. (e)Read Geneva "Pr 22:3"