It is reported that Al-Hasan Al-Basrî – Allâh have mercy on him – said:

If people called on Allâh when put to trial because of their rulers, Allâh would relieve their suffering; but instead they resorted to the sword, so they were left to it. And not one day of good did they bring.

Then he recited (Quran 7: 137):
And the good word of your Lord was fulfilled for the Children of Israel, for the patience and perseverance they had, and We destroyed the works of Pharaoh and his people and what they had erected.

Ibn Abî Hâtim, Al-Tafsîr no. 8897.