Joseph, in a revelation, discusses Michael's role in the end-times, fighting and overthrowing the Devil and his armies.
Section 88:112-115 Doctrine and Covenants, The Church of Jesus Christ of Latter-Day Saints, accessed February 18, 2022
112 And Michael, the seventh angel, even the archangel, shall gather together his armies, even the hosts of heaven.
113 And the devil shall gather together his armies; even the hosts of hell, and shall come up to battle against Michael and his armies.
114 And then cometh the battle of the great God; and the devil and his armies shall be cast away into their own place, that they shall not have power over the saints any more at all.
115 For Michael shall fight their battles, and shall overcome him who seeketh the throne of him who sitteth upon the throne, even the Lamb.