Khabbaab ibn al-Aratt (may Allaah be pleased with him) said: "We complained to the Messenger of Allaah (peace and blessings of Allaah be upon him) when he was reclining on his cloak in the shade of the Ka'bah. We said to him: "Why do you not ask Allaah to help us (grant us victory)? Why do you not pray to Allaah for us?"
He said, "A man from the people before you would be placed in a hole dug for him, then they would bring a saw and cut his head in two, yet that would not make him renounce his faith. They would use an iron comb to drag the flesh and nerves from his bones, yet that would not make him renounce his faith. By Allaah, this matter will be completed (i.e. Islam will be perfected and will prevail) until a rider travelling from Sana' to Hadramawt will fear nobody but Allaah or the attack of a wolf on his sheep, but you are too impatient."
Source: Sahih Bukhari.
The conditions of Muslims may go up and down but Islam will always remain on top. We should never lose hope even during the most difficult times as Allah is always in control. Surely, Allah helps those who are patient.