1 Samuel 16:6-7:

When they arrived, and Samuel saw Eliab, and said to himself, “Surely, God’s anointed stands here before YHWH.” But YHWH said to Samuel, “Pay no attention to appearance and height; I have rejected him. YHWH does not see as mortals see; mortals see only appearances but YHWH sees into the heart.”