Overall meaning :
Allah Almighty says: We informed the Children of Israel in the Torah, saying: Twice will you commit evil in the land through acts of unbelief and disobedience, and you will become extremely arrogant and commit great transgressions by disobeying My commandments and unjustly oppressing people. When the time of the punishment threatened for the first of these transgressions came, We sent against you slaves of Ours, soldiers with great might and courage, who ransacked your houses and rampaged right through them to seek you out and slay you: a decree that was fulfilled. Then, after your repentance, We gave you the upper hand over your enemy, granted you increase of wealth and children and made you greater in number. If you do good by obeying Allah, Children of Israel, you actually do it for your own benefit; but if you do evil by disobeying Him, you do it to your own detriment.
And when the time for the punishment threatened for your latter transgression came, We once again sent your enemies against you to oppress and humiliate you and to enter Al-Aqsa Mosque, as they entered it the first time, and to utterly destroy everything they laid their hands on.
Your Lord, Children of Israel, will have mercy on you after such retribution if you repent and mend your ways; but if you commit transgressions again, We will also punish and humiliate you again. We have made Hell a prison for the unbelievers from which they will never get out.