When David uttered this inspired prayer, he was hiding in a cave from Saul, the fallen king of Israel.
David who had been anointed king to replace Saul, was on the run for his life, yet he refused to be better, but trusted God to make all things better:
"I will bless the LORD at all times: his praise shall continually be in my mouth.
2My soul shall make her boast in the LORD: the humble shall hear thereof, and be glad." (Psalm 34: 1-2)
Readers get confused or frustrated when they read about David "seeking the LORD."
Seeking God is not about going to any one place, but rather asking for His help. Throughout the Old Testament, men and women would seek the LORD through the sacrifice of animals. The shedding of blood would atone for sins
Today, we can rest assured that rather than striving to seek God, He has sought us and gotten us!
"For the law was given by Moses, but grace and truth came by Jesus Christ." (John 1: 17)
Jesus came to us.
Paul wrote the goodness of God in a way which many still need to meditate on to understand:
"But God commendeth his love toward us, in that, while we were yet sinners, Christ died for us. 9Much more then, being now justified by his blood, we shall be saved from wrath through him. 10For if, when we were enemies, we were reconciled to God by the death of his Son, much more, being reconciled, we shall be saved by his life. 11And not only so, but we also joy in God through our Lord Jesus Christ, by whom we have now received the atonement." (Romans 5: 8-11)
Even when we were not paying attention, when we did not care about God, God our Father sent His Son to be our atonement, to become sin, that we would be made the righteousness of God in His Son (2 Corinthians 5: 21)
Today, we are not seeking God, trying to bring Him into our lives, trying to make Him work in us.
He is our life (Colossians 3: 4), and He is working within us both to will and to do for His good pleasure (Philippians 2: 12-13).
His perfect love casts out all fears (1 John 4: 18), and to this day, He is in the saving business, caring for us (1 Peter 5: 6-7)