Exodus 32:28 And the children of Levi did according to the word of Moses: and there fell of the people that day about three thousand men.
[Patriarchs & Prophets pp 324>325] Those who performed this terrible work of judgment were acting by divine authority, executing the sentence of the King of heaven. Men are to beware how they, in their human blindness, judge and condemn their fellow men; but when God commands them to execute His sentence upon iniquity, He is to be obeyed. Those who performed this painful act, thus manifested their abhorrence of rebellion and idolatry, and consecrated themselves more fully to the service of the true God. The Lord honored their faithfulness by bestowing special distinction upon the tribe of Levi.
The Israelites had been guilty of treason, and that against a King who had loaded them with benefits and whose authority they had voluntarily pledged themselves to obey. That the divine government might be maintained justice must be visited upon the traitors. Yet even here God's mercy was displayed. While He maintained His law, He granted freedom of choice and opportunity for repentance to all. Only those were cut off who persisted in rebellion.
It was necessary that this sin should be punished, as a testimony to surrounding nations of God's displeasure against idolatry. By executing justice upon the guilty, Moses, as God's instrument, must leave on record a solemn and public protest against their crime. As the Israelites should hereafter condemn the idolatry of the neighboring tribes, their enemies would throw back upon them the charge that the people who claimed Jehovah as their God had made a calf and worshiped it in Horeb. Then though compelled to acknowledge the disgraceful truth, Israel could point to the terrible fate of the transgressors, as evidence that their sin had not been sanctioned or excused.
Ecclesiastes 8:12 Though a sinner do evil an hundred times, and his days be prolonged, yet surely I know that it shall be well with them that fear God, which fear before him: 13 But it shall not be well with the wicked, neither shall he prolong his days, which are as a shadow; because he feareth not before God.
May God add His blessing to the study of His word. "Good night" and God bless!