He did what was right in the eyes of Yahweh
"He did what was right according to Yahweh"
He walked in all the way of David his ancestor
"He lived the way David his ancestor had lived"
he did not turn away either to the right or to the left
"he fully obeyed all the laws of Yahweh"