He did what was pleasing in the lord’s sight and followed the example of his ancestor David. He did not turn away from doing what was right.