The loss of the city of Nephihah illustrates the strong correlation between the wickedness of the Nephites and their inability to defeat their enemies in the “strength of the Lord” (see Mosiah 9:16; 10:10–11; Alma 60:16). The leaders of the Nephite armies were often men who “had the spirit of revelation and also prophecy” (3 Nephi 3:19). These righteous military leaders attributed Nephite defeats not to the Lamanites but to Nephite wickedness. By contrast, faithful Nephites were usually able to defend themselves and recover lost cities, often with relatively minimal loss of life (see Alma 52:19; 56:53–56; 57:7–12; 58:25–28; 62:22–26). The Lord has repeatedly taught that while we may face difficulties and serious problems, if we are righteous and rely on Him, we can always have confidence that He will be with us and His work will ultimately prevail (see D&C 6:34; 10:69; 33:13).