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