Mormon Speaks of the Consequences of Suffering That We Bring upon Ourselves When We Sin

Alma 3:26–27  

26 And in one year were thousands and tens of thousands of souls sent to the eternal world, that they might reap their rewards according to their works, whether they were good or whether they were bad, to reap eternal happiness or eternal misery, according to the spirit which they listed to obey, whether it be a good spirit or a bad one.
27 For every man receiveth wages of him whom he listeth to obey, and this according to the words of the spirit of prophecy; therefore let it be according to the truth. And thus endeth the fifth year of the reign of the judges.

Elder Bruce R. McConkie wrote:

“Just as obedience and righteousness bring blessings, so wickedness and rebellion result in cursings. . . . Cursings are the opposite of blessings, and the greater the opportunity given a people to earn blessings, the more severe will be the cursings heaped upon them, if they do not measure up and gain the proffered rewards.”

(Mormon Doctrine, 2nd ed. [1966], 175.)