Although David was the least of all his brothers, God had chosen and anointed him. Psalm 101 records David's thoughts as he began his kingship.
David made a decision to go all out for God and refuse all compromise. In the same way, all of us who are chosen and anointed need to continue to dedicate our lives to God.