Solomon
Proverbs 19:8ESV·traditional attribution

Whoever gets sense loves his own soul; he who keeps understanding will discover good.

Matthew Henry Presbyterian @wholebiblehenry

Those are here encouraged, 1. That take pains to get wisdom, to get knowledge, and grace, and acquaintance with God; those that do so show that they love their own souls, and will be found to have done themselves the greatest kindness imaginable.

John Gill Reformed Baptist @doctorgill

He that getteth wisdom loveth his own soul,.... Wisdom and knowledge in things natural and civil; and especially in things divine, spiritual, and evangelical; particularly he that gets Christ, the Wisdom of God, and a saving knowledge of him; see Pro 3:13.

Jamieson-Fausset-Brown Reformed @jfbcommentary

(Compare Margin; Pro 15:32). loveth . . . soul--or, "himself," which he evinces by regarding his best interests. keepeth--or, "regards."