He did what was right in the sight of the Lord, in accordance with everything that his father David had done.