"A Man after God’s Own Heart": David and the Rhetoric of Election to Kingship
How should the phrase "a man after God's own heart" in 1 Samuel 13:14 be understood? According to this article, it is a reference to the election of David as king over Israel rather than a reference to the moral qualities of David. It serves to distinguish David from Saul as God's choice.