1 Samuel 16:1-13 NIV
The LORD said to Samuel, “How long will you mourn for Saul, since I have rejected him as king over Israel? Fill your horn with oil and be on your way; I am sending you to Jesse of Bethlehem. I have chosen one of his sons to be king.”
But Samuel said, “How can I go? If Saul hears about it, he will kill me.”
The LORD said, “Take a heifer with you and say, ‘I have come to sacrifice to the LORD.’ Invite Jesse to the sacrifice, and I will show you what to do. You are to anoint for me the one I indicate.”
Samuel did what the LORD said. When he arrived at Bethlehem, the elders of the town trembled when they met him. They asked, “Do you come in peace?”
Samuel replied, “Yes, in peace; I have come to sacrifice to the LORD. Consecrate yourselves and come to the sacrifice with me.” Then he consecrated Jesse and his sons and invited them to the sacrifice.
When they arrived, Samuel saw Eliab and thought, “Surely the LORD’s anointed stands here before the LORD.”
But the LORD said to Samuel, “Do not consider his appearance or his height, for I have rejected him. The LORD does not look at the things people look at. People look at the outward appearance, but the LORD looks at the heart.”
Then Jesse called Abinadab and had him pass in front of Samuel. But Samuel said, “The LORD has not chosen this one either.” Jesse then had Shammah pass by, but Samuel said, “Nor has the LORD chosen this one.” Jesse had seven of his sons pass before Samuel, but Samuel said to him, “The LORD has not chosen these.” So he asked Jesse, “Are these all the sons you have?”
“There is still the youngest,” Jesse answered. “He is tending the sheep.”
Samuel said, “Send for him; we will not sit down until he arrives.”
So he sent for him and had him brought in. He was glowing with health and had a fine appearance and handsome features.
Then the LORD said, “Rise and anoint him; this is the one.”
So Samuel took the horn of oil and anointed him in the presence of his brothers, and from that day on the Spirit of the LORD came powerfully upon David. Samuel then went to Ramah.
NIV: New International Version