Covenant in the Hebrew Bible

In the Hebrew Bible, the covenant (Hebrew: berit) is the formal agreement between Yhwh and the people of Israel and Judah, in which each agrees to a set of obligations toward the other. The language and understanding of covenant is based on ancient Near Eastern treaties between nations.
The Bible understands covenant from two different perspectives. The unconditional or eternal covenant (Hebrew berit ‛olam) between Yhwh and Israel/Judah presumes that the covenant can never be broken, although it does allow for divine judgment.
The conditional covenant means that the covenant might be broken if the people fail to comply with the divine will; but even conditional formulations of the covenant, such as Deuteronomy 28-30 presume that the covenant will be restored when Israel repents. Both understandings refer to the same covenant between Yhwh and Israel, but individual texts portray this covenant from different perspectives.
The eternal covenant with Abraham (
David’s eternal covenant is similar to Abraham’s, especially because it includes an eternal promise of sons ruling in Jerusalem over the land of Israel (
The Sinai covenant narrative (Exodus 19-Numbers 10), which relates the covenant between Yhwh and all Israel, presents detailed civil and religious law collections meant to ensure a holy and just society in the land of Israel. Sabbath observance (
Both Exodus–Numbers and Deuteronomy recognize the possible conditional nature of the covenant, noting that the nation will suffer punishment and exile should the people not observe Yhwh’s will.
The prophets likewise explain foreign invasion and exile as the result of the people’s failure to fulfill their obligations to Yhwh (for example,