Heavenly Father wants us to succeed and He does all He can, short of forcing us, to help us be prepared to return to Him someday.
1 Nephi 17:3
“And thus we see that the commandments of God must be fulfilled. And if it so be that the children of men keep the commandments of God he doth nourish them, and strengthen them, and provide means whereby they can accomplish the thing which he has commanded them; wherefore, he did provide means for us while we did sojourn in the wilderness.”
https://www.lds.org/scriptures/bofm/1-ne/17?verse=3&lang=eng#p3
Seriously, do you see what God did there? He stuck this family into a hecka hard situation – middle of the wilderness, no supermarkets, no indoor anything, no neighbors to borrow from, malfunctioning hunting weapons, threat of being discovered by nomadic bandits, sand, wind – awful stuff. And then He showed them that if they trusted Him and turned to Him, all their needs would be met. He didn’t take away the hardships completely, but He brought them through with shining colors.
This is SO COOL! I have experienced this in my life. Some things are just stinking hard. Some things are so painfully discouraging that sometimes it can be tempting to give up or want to turn back to the life I was living at some point in the past. But that’s not what God wants for us. He sees our trials and wants us to grow by turning toward Him and by reaching for Him in new and possibly uncomfortable ways. But look at how He blesses us abundantly when we act in faith!