If only the people of the cities had had faith and fear, We would have opened up to them blessings from heaven and Earth. But they denied the truth, so We seized them for what they earned. (Surat al-A‘raf, 7:96)
As the Opener, Allah tests people with hardship. However, He does not impose an unbearable burden on anyone. When Allah sends difficulty to His sincere servants, He also opens a way out. Moreover, after each test He sends ease. Indeed, Allah cites the hardships that our Prophet (saas) encountered, as follows:
Did We not expand your breast and remove your load, which weighed down your back? Did We not raise your renown high? For truly with hardship comes ease; truly with hardship comes ease. (Surat al-Inshirah, 94:1-6)
Allah gives many examples of the help He offers to believers. For example, He supported Prophet Musa (as) during his troubles and eased his way. When he asked Allah to let his brother Harun (as) accompany him on his mission to Pharaoh, Allah granted his request.
This is only one example of Allah's continuous support and help for believers. He eventually removes their hardships, even those that seem impossible to overcome. Yet, He makes the unbelievers' hearts narrow and constricted and withholds His blessings from them. No power can restore these blessings, for only Allah can grant them.
This aside, Allah opens the gates of torment for unbelievers, as follows:
... nor will they humble themselves until We open to them a gate to a harsh punishment in which they will at once be crushed by despair. (Surat al-Mu'minun, 23:76-77)