This verse was revealed to encourage the Muslims to be 
patient in troubles, and put their trust in God and wait for His help.
The believers were of the opinion that, through their mere faith, they could obtain salvation and enter Paradise. The verse denied them that, saying that even the believing people and the Prophets, all together said, “… When will Allah’s help come? ….” 
It is evident that the purpose, here, is not a protest against the Providence, but this manner of statement is itself a kind of 
invocation and a plea for help. This verse points at one of the everlasting Divine rules and customs; that in all ages the
 believers have to work hard for salvation, and encounter sufferings and hardship, if they are willing to enter Paradise.