What does Psalm 18:1 mean?
The introduction to this psalm credits it to David, who gave the first version of this praise in 2 Samuel chapter 22. David was motivated by God's immense help in rescuing him from Saul and his many other enemies.In this verse David tells God he loves Him. Deuteronomy 6:5 gives Israel the command to love the Lord with all their heart, soul, and might, and Jesus identified this command as "the great and first commandment" (Matthew 22:37–38). David's love for the Lord honored this commandment. His love for God was deep. David recognized the Lord as the one who made him victorious over his foes.
After rising from the grave, Jesus met His disciples and asked Peter whether Peter loved Him. Peter had previously denied the Lord three times but now he confessed three times that he loved the Lord as the Lord restored him (John 21:15–17). Like David and restored Peter, we, too, should love the Lord; and we can show our love for Him by keeping His commandments (John 14:15).