When David came in, God told Samuel; "he’s the one I have chose.” God wanted David 2 be king. David, the shepherd boy, the eighth son in a culture which gave preference to the oldest.
David from a family w/out wealth or influence in their tribe(1 Sam. 16:4,5; 18:18). The most unlikely candidate to be king, but God CHOSE David.
Why; "Because David was a man after God’s heart"