All the people together made an agreement with the king in the Temple of God.Jehoiada said to them, “The king’s son will rule, as the Lord promised about David’s descendants.