Solomon
Proverbs 7:1ESV·traditional attribution

My son, keep my words and treasure up my commandments with you;

Matthew Henry Presbyterian @wholebiblehenry

These verses are an introduction to his warning against fleshly lusts, much the same with that, Pro 6:20, etc., and ending (Pro 7:5) as that did (Pro 6:24), To keep thee from the strange woman; that is it he aims at; only there he had said, Keep thy father's commandment, here (which comes all to one), Keep my commandments, for he speaks to us as unto sons.

Commenting on Proverbs 7:1-5

John Gill Reformed Baptist @doctorgill

My son, keep my words,.... Doctrines and instructions; which, as a father to a son, or a master to his scholars, he had delivered; these he would have him observe and attend to; and lay up my commandments with thee: as a treasure in his heart, to be brought out upon occasion; to be kept as valuable, and made use of as an antidote against...

Keil & Delitzsch Lutheran @keilanddelitzsch

Pro 7:1-3 The introduction first counsels in general to a true appreciation of these well-considered life-rules of wisdom. 1 My son, keep my words, And treasure up my commandments with thee. 2 Keep my commandments, and thou shalt live; And my instruction as the apple of thine eye. 3 Wind them about thy fingers, Write them on the tablet of thy heart.

Commenting on Proverbs 7:1-3