2 Joash did what the Lord said was right as long as Jehoiada the priest was alive.