Proverbs 21:2 in the King James Version
Every way of a man is right in his own eyes: but the LORD pondereth the hearts.
Context
1 The king’s heart is in the LORD’s hand like the watercourses. He turns it wherever he desires.
2 Every way of a man is right in his own eyes, but the LORD weighs the hearts.
3 To do righteousness and justice is more acceptable to the LORD than sacrifice.