Purpose of God’s Covenant
Malachi 2:5 (ESV) … “My covenant with him was one of life and peace, and I gave them to him. It was a covenant of fear, and he feared me. He stood in awe of my name.”
To give life and peace
One of the most productive lies of the devil is that God enjoys making life miserable for human beings, that he gives us certain rules to spoil our happiness.
The truth of the matter is, of course, just the opposite. The laws of God are designed, not to destroy our happiness, but rather to secure it. Such was the case with God’s covenant with the Levites. By obeying it, they would bring both life and peace to the nation and to themselves. By disobeying it, they would bring destruction and unrest.
To produce fear of God
To fear God is to stand in awe of him. It is to revere his person, to submit to his authority and to dread his displeasure. This may seem to run counter to our happiness, but it is not. The more we stand in awe of God, the more likely we are to obey, and the more we obey the more happiness we find.
 Ellsworth, R. (2007). Opening up Malachi (p. 45). Leominster: Day One Publications.