The word “commit” here literally means to “roll off or away”.
It is applied in this instance to things that are “a) round, globular or rolling, such as a wheel or dung” and “b) heavy – such as would be rolled and not carried ,ie a large stone”. (Strong’s concordance)
It is the same word that is used in Joshua 5:9
“Then the Lord said to Joshua ‘This day I have rolled away the reproach of Egypt from you.’”
So when Psalm 37:5 says to “Commit your way to the Lord” it is literally saying to “roll upon Jehovah thy way”.
In the Hebrew it is not just to roll off your burdens, but to roll them off onto another, to transfer them.
When we have a burden, a fear or a difficult situation the Word of God tells us to roll it off onto the Lord.
Let us commit all our concerns to God, entrusting them to Him, our loving Heavenly Father, knowing that He is working together all things for the good for us.