Alma 17

My son, give ear to my words, for I swear unto you that inasmuch as ye shall keep the commandments of God, ye shall prosper in the land. I would that ye should do as I have done in remembering the captivity of our fathers; for they were in bondage and none could deliver them, except it were the God of Abraham, and the God of Isaac, and the God of Jacob. And he surely did deliver them in their afflictions.