17 The priest Jehoiada had King Joash and the people make a covenant with the Lord that they would be the Lord's people; he also made a covenant between the king and the people.