When you trust in the Father and the Son, you are confident
that They love you perfectly—that They want you to be
happy and that They will help you grow spiritually. You keep
the commandments. You seek to know Their will, and you do
what They require even when you desire something else.
Your prayers for relief are accompanied by the understanding
that Heavenly Father will not resolve all matters immediately—
that He may allow you to wait so you can continue
to learn and grow. Through it all, you find comfort in the
assurance that the Savior understands your trials perfectly.
As part of His infinite Atonement, He took upon Himself
“the pains and the sicknesses of his people.” He took upon
Himself “their infirmities, that his bowels may be filled with
mercy, according to the flesh, that he may know according to
the flesh how to succor his people according to their infirmities”
(Alma 7:11–12). Because He has experienced your pain,
He knows how to help you. If you look to Him in faith, He
will strengthen you to withstand any trial you experience.
True to the Faith Booklet pg. 10
I think that this is the reason that we have a lot of these war chapters in Alma. It teaches us that if we rely on the Lord that we can survive the adversity that comes our way, maybe not in the way that we expect, but relief will come.