He did what was right in the eyes of the Lord and walked in the ways of his father David, not turning aside to the right or to the left.