The Book of Leviticus is a solution. God took the initiative to provide a way to reconcile his relationship with rebellious Israel. He invited them to live in his holy presence despite their sin, through a series of rituals and sacred institutions. Leviticus is all about God’s grace!
Israel’s exodus from Egypt is the event that forms them into a nation and is the model for God’s plan of redemption throughout Scripture. God invited Israel to enter into a covenant relationship with him, but their own sin and idolatry became the greatest threat to God’s covenant promises.