2 He did what was pleasing to the Lord as long as Jehoiada the priest was alive.