7 But the Lord said to Samuel, b“Do not look on his appearance or on the height of his stature, because I have rejected him. For the Lord sees not as man sees: man looks on the outward appearance, cbut the Lord looks on the heart.”
David's Charge to Solomon
9 “And you, Solomon my son, know the God of your father and serve him with a ywhole heart and with a willing mind, zfor the Lord searches all hearts and understands every plan and thought. aIf you seek him, he will be found by you, but if you forsake him, he will cast you off forever.
2 zEvery way of a man is right in his own eyes,
but the Lord aweighs the heart.