On David’s deathbed, he gives instructions to his son Solomon who will replace him.
“I am going the way of all the earth. Be strong, therefore, and show yourself a man. Keep the charge of the Lord your God, to walk in His ways, to keep His statutes, His commandments, His ordinances, and His testimonies, according to what is written in the Law of Moses, that you may succeed in all that you do and wherever you turn.” (1 Kings 2: 2-3 ESV)
Then we see David’s passing and Solomon taking the reign.
“Then he died a ripe old age, full of days, riches and honor; and his son Solomon reigned in his place.” (1 Chronicles 29:28 ESV)
And like David died in the flesh, we too can die to sin when we accept Jesus as our savior.
“Therefore my brethren you also were made to die to the law throughout the body of Christ, so that you might be joined to another, to Him who was raised from the dead, in order that we might bear fruit for God. For while we were in the flesh, the sinful passions, which were aroused by the law, were at work in the members of our body to bear fruit for death. But now we have been released from the law, having died to that by which we were bound, so that we serve in newness of the Spirit and not in oldness of the letter.” (Romans 7:4-6 ESV)
Help us, Lord, to walk in your ways, keep your commandments and ordinances as David instructed Solomon to do. Even though we are no longer bound to the law of Moses, things go better for us when we do follow it well.