In this verse Mormon makes the point that when the Nephites had cultivated in their hearts such a wicked desire to avenge themselves on the Lamanites, the Nephites themselves were punished by the Lord because he allowed them to be defeated by the Lamanites.