Proverbs 21:1 The king’s heart is in the hand of the LORD, as the rivers of water: he turneth it whithersoever he will.
2 Every way of a man is right in his own eyes: but the LORD pondereth the hearts.
3 To do justice and judgment is more acceptable to the LORD than sacrifice.
Most leaders believe they are always in total control but God controls even the hearts and minds of kings. God gave the children of Israel kings because they ask for them but He controlled them. A good kings heart can be pliable with God to mold as He will, just as irrigation channels are controlled by the gardener. As verse two goes on we see even man thinks most of his ways are right in his own mind. This is a false security for man because God determines whether are motives are good or bad. Man needs to keep uppermost in mind that God looks at he heart to see if it wicked or good. Lastly how we look we look at people is important to God because He wants us to treat everyone fairly. He wants us to be just and judge people righteously if we love Him like we should. If we love people like we should it is better than sacrifice because the greatest sacrifice was Jesus dying on the cross for those that will accept Him.