2 Kings 11:4

11:4 In the seventh year Jehoiada summoned the officers of the units of hundreds of the Carians and the royal bodyguard. He met with them in the Lord’s temple. He made an agreement with them and made them swear an oath of allegiance in the Lord’s temple. Then he showed them the king’s son.

2 Kings 25:24

25:24 Gedaliah took an oath so as to give them and their troops some assurance of safety. He said, “You don’t need to be afraid to submit to the Babylonian officials. Settle down in the land and submit to the king of Babylon. Then things will go well for you.”