God chose David because David was a man after God's own heart. Jesus said that the greatest command was to love God with all your heart, soul, mind, and strength. Jesus told the church in Ephesus that they had left their first love. Paul said "grace to all who love the Lord Jesus Christ with an undying love."
My website https://BibleThinker.org