David had done what was right in the sight of the Lord. He had kept all the Lord’s commands. He had obeyed them all the days of his life. But he hadn’t obeyed the Lord in the case of Uriah, the Hittite.
All the Israelites heard about the decision the king had given. That gave them great respect for him. They saw that God had given him wisdom. They knew that Solomon would do what was right and fair when he judged people.
“But you must walk faithfully with me, just as your father David did. Your heart must be honest. It must be without blame. Do everything I command you to do. Obey my rules and laws.
“Son of man, prophesy against the shepherds of Israel. Tell them, ‘The Lord and King says, “How terrible it will be for you shepherds of Israel! You only take care of yourselves. You should take good care of your flocks.
God removed him and made David their king. Here is God’s witness about him. ‘David, son of Jesse, is a man dear to my heart,’ he said. ‘David will do everything I want him to do.’