The Book of Mormon, Helaman 12:3

3 And thus we see that except the Lord doth chasten his people with many afflictions, yea, except he doth visit them with death and with terror, and with famine and with all manner of pestilence, they will not remember him.

The Book of Mormon, Mosiah 23:21-22

21 Nevertheless the Lord seeth fit to chasten his people; yea, he trieth their patience and their faith.

22 Nevertheless-whosoever putteth his trust in him the same shall be lifted up at the last day. Yea, and thus it was with this people.

The Doctrine and Covenants, Section 103:6-8,13-14

6 Behold they shall, for I have decreed it, begin to prevail against mine enemies from this very hour.

7 And by hearkening to observe all the words which I, the Lord their God, shall speak unto them, they shall never cease to prevail until the kingdoms of the world are subdued under my feet, and the earth is given unto the saints, to possess it forever and ever.

8 But inasmuch as they keep not my commandments, and hearken not to observe all my words, the kingdoms of the world shall prevail against them.

13 Behold, this is the blessing which I have promised after your tribulations, and the tribulations of your brethren–your redemption, and the redemption of your brethren, even their restoration to the land of Zion, to be established, no more to be thrown down.

14 Nevertheless, if they pollute their inheritances they shall be thrown down; for I will not spare them if they pollute their inheritances.

The Doctrine and Covenants, Section 105:2-6

2 Behold, I say unto you, were it not for the transgressions of my people, speaking concerning the church and not individuals, they might have been redeemed even now.

3 But behold, they have not learned to be obedient to the things which I required at their hands, but are full of all manner of evil, and do not impart of their substance, as becometh saints, to the poor and afflicted among them;

4 And are not united according to the union required by the law of the celestial kingdom;

5 And Zion cannot be built up unless it is by the principles of the law of the celestial kingdom; otherwise I cannot receive her unto myself.

6 And my people must needs be chastened until they learn obedience, if it must needs be, by the things which they suffer.

The Doctrine and Covenants, Section 98:21-22

21 Verily I say unto you, that I, the Lord, will chasten them and will do whatsoever I list, if they do not repent and observe all things whatsoever I have said unto them.

22 And again I say unto you, if ye observe to do whatsoever I command you, I, the Lord, will turn away all wrath and indignation from you, and the gates of hell shall not prevail against you.