Throughout the time Jehoiada the priest instructed him, Joash did what was right in the LORD's sight.