Malachi 4:1
"For, behold, the day cometh, it burneth as a furnace; and all the proud, and all that work wickedness, shall be stubble; and the day that cometh shall burn them up, saith Jehovah of hosts, that it shall leave them neither root nor branch"
This is the second advent of Christ which is called the day of Jehovah. As the earth was once consumed by water on the day of Jehovah it will be burned with fire (2 Peter 3:10-12). Those who work wickedness will be burned. In the scriptures wickedness is eqauted to lawlessness i.e those who practice iniquity (Isaiah 24:1-5).
On the great and terrible day of Jehovah the wicked will be destroyed leaving them no root. They will be cast into God's winepress. Notice here that it is not the righteous that are taken from the earth but the wicked. This refutes the false rapture doctrine that teaches the opposite.
Malachi 4:2-3
2 But unto you that fear my name shall the sun of righteousness arise with healing in its wings; and ye shall go forth, and gambol as calves of the stall. 3 And ye shall tread down the wicked; for they shall be ashes under the soles of your feet in the day that I make, saith Jehovah of hosts.
"sun of righteousness" refers to the bright and morning star Jesus Christ the Davidic King. These two titles along with "day star" are titles belonging to Christ as He is the eschatological Davidic King. For those who fear Jehovah the return of Jesus will be a glorious day of redemption in which we will be resurrected and translated to eternal life (healing).
The righteous will tread upon the heads of the wicked in that day as we will go forth as calves (strong bulls). This shows that we as the saints, subsequent to our resurrection, will go to war alongside the Davidic King Jesus Christ and execute the wicked. See Luke 19:27.
Malachi 4:4
"Remember ye the law of Moses my servant, which I commanded unto him in Horeb for all Israel, even statutes and ordinances"
Why are we to remember the law of Moses? Because it will be the violation of it and the attempted change of it that will bring Jehovah's destruction on the law transgressors. Here Jehovah, through the prophet Malachi is exhorting Israel to remember His law as those who forget it and break it will be the ones burned up in verse. This command to remember the law of Moses is within the context of the second advent of Christ. This reminds us of Jehovah's words in the 4th commandment to remember the Sabbath day.
Malachi 4:5-6
5 Behold, I will send you Elijah the prophet before the great and terrible day of Jehovah come.6 And he shall turn the heart of the fathers to the children, and the heart of the children to their fathers; lest I come and smite the earth with a curse.
The Elijah message is the call to remember the law of Moses (verse 4) and to preach the three angels message (Rev 14:6-12) which is a call to repentance by telling the world to fear God and worship Him as creator and to keep His commandments.
The Elijah message will turn many of God's children back to the pure religion of the fathers (patriarchs). It is a reconcilation message of believers turning back to the law of Jehovah God. The reason Jehovah curses a land is due to the breaking of His commandments (Leviticus 18 and Isaiah 24).
Psalm 119:1-2
1 Blessed are they that are perfect in the way, Who walk in the law of Jehovah.2 Blessed are they that keep his testimonies, That seek him with the whole heart.
The law of Jehovah God is the standard of righteousness and those who walk in it are perfect and blessed.
Isaiah 24:5-6
5 The earth also is polluted under the inhabitants thereof; because they have transgressed the laws, violated the statutes, broken the everlasting covenant.6 Therefore hath the curse devoured the earth, and they that dwell therein are found guilty: therefore the inhabitants of the earth are burned, and few men left.
This passage matches what Malachi says in that Jehovah will smite the earth with a curse & burn the inhabitants thereof. In both, the reason for Jehovah's wrath is the transgression of the law.