John Gill's Bible Commentary Ver. 9. A man’s heart deviseth his way , etc.] This is to be understood, not of a wicked man, in whose heart is frowardness, and who devises mischief and evil imaginations continually, ( Proverbs 6:14,18); for such are an abomination to the Lord; nor will he direct their goings, or prosper and succeed them in their ways: but of a good man, or righteous man, as Aben Ezra; who thinks of the way in which he should go, and desires to walk in a right way, as Jarchi; and who is influenced by the Spirit and grace of God to think and act in this manner; for otherwise the way of man is not in himself; it is not of his own devising and finding out; nor is his disposition to walk in it of himself; and it is only such a man, a good man, whose steps are ordered by the Lord, as follows; see ( Jeremiah 10:23 Psalm 37:23); but the Lord directeth his steps : to go right on, and not turn to the right hand or the left; and to walk safely and surely, through a variety of troubles and difficulties, to his kingdom and glory.
Matthew Henry Commentary
Verses 9 - If men make God's glory their end, and his will their rule, he wil direct their steps by his Spirit and grace. 10. Let kings and judges of the earth be just, and rule in the fear of God.
Original Hebrew לב3820 אדם120 יחשׁב2803 דרכו1870 ויהוה3068 יכין3559 צעדו׃6806