He did what the Lord considered right, but not exactly what his ancestor David had done. He did everything his father Joash had done.