God’s judgement is very different from the way we humans judge others. God looks at people’s hearts and their intention, but we often judge people by their outer appearance. Good people have kind hearts full of love.
David was chosen by God even though David was the youngest and smallest among his brothers. God chose him when he was a humble shepherd but God saw his heart and found it to be full of faith, kindness and courage.