Acts 13:36: Serving the purpose of God
The purpose of God was to build the kingdom. God was looking for someone who prepares the Throne for His Son, Jesus Christ who rules on all nations of the earth. And Got David and David lived and died for the purpose of God.
Getting the purpose of God and living for it is a very important thing.
Ephesians 1: 10: and 3:11 speaks about the purpose of God, summing up of all things in Christ,
Therefore God sent Jesus to this earth and he lived his life for that purpose which means dying for sinners, me, and all of us.
Philippians 2: 8: He (Jesus) humbled Himself by becoming obedient to the point of death, even death on a cross.
We see the obedience of Christ, and God satisfied in Christ’s obedience and gave the name above all names
Philippians 2: 9: For this reason also, God highly exalted Him, and bestowed on Him the name which is above every name, 10: so that at the name of Jesus EVERY KNEE WILL BOW, of those who are in heaven and on earth and under the earth, 11: and that every tongue will confess that Jesus Christ is Lord, to the glory of God the Father.
-God needs us to get and serve his purpose, knowing Christ obeying Christ, and living for Christ. That is what David did in his generation.