Quoting Commentary for II Kings 11:17

וַיִּכְרֹ֨ת יְהוֹיָדָ֜ע אֶֽת־הַבְּרִ֗ית בֵּ֤ין יְהוָה֙ וּבֵ֤ין הַמֶּ֙לֶךְ֙ וּבֵ֣ין הָעָ֔ם לִהְי֥וֹת לְעָ֖ם לַֽיהוָ֑ה וּבֵ֥ין הַמֶּ֖לֶךְ וּבֵ֥ין הָעָֽם׃

And Jehoiada made a covenant between the LORD and the king and the people, that they should be the LORD’S people; between the king also and the people.

Tze'enah Ure'enah

[II Kings, 11:17–12:17]
Ask a RabbiBookmarkShareCopy

Rashi

and David made with them a covenant Like the covenant that Jehoiada made, as it is written (II Kings 11:17): “And Jehoiada enacted the covenant between the Lord and between the king and between the people, to be the people of the Lord.” The meaning is [that they agreed] to be servants of the Lord, and also “between the king and between the people,” to be his servants according to the king’s judgment, and also that the king should do according to the law for his servants; to wage their wars.
Ask a RabbiBookmarkShareCopy