He did what was right in the LORD's sight and walked in all the ways of his ancestor David; he did not turn to the right or the left.