The result of the coming Messiah’s mission is to light a world that would otherwise be fated to remain in darkness. Through the resurrection, the bands of death will be broken. Then, when all come to the judgment of God, they need not be condemned as wicked. The Messiah’s redemption will allow repentance to guide their agency. They will not be condemned to become as the devil, but will have the opportunity to use their agency to become as God.
This final judgment separates the two opposite kinds of people. Those who have become as the devil must remain with the devil, but those who have embraced the way of God will be resurrected to endless life and happiness. When the Book of Mormon speaks of happiness, or of joy, it is speaking of this type of eternal happiness and joy rather than the fleeting happiness of our mortal life.
The final comment emphasizes agency. Those who are condemned were warned. The arms of mercy were extended to them. Nevertheless, Abinadi says that they would not accept the offer. We are judged for what we have chosen to become.