And he did that which was right in the sight of the Lord, according to all that David, his father, had done.