The Heights - 7:168
We divided them into communities on the earth, some of them were good and some of them were lowly. We tested them with good and evil lest they should turn back.
Related:
The Cow/2:63
"We once took a promise from you when We raised Mount Sinai over you, saying: "Hold fast to what We have given you and remember what is in it, that you may be protected"."
The Cow/2:64
But after that you turned away. Had it not been for Allah´s bounty and mercy upon you, you would have lost.
The Cow/2:83
We took a promise from the Children of Israel: You shall serve none but Allah, and you shall do good to parents and relatives and orphans and the poor. You shall speak to people in friendship. You will observe the prayer and pay the zakat. But after that you turned away, except a few of you.
The Cow/2:84
We had also taken a promise from you that you would not shed each other´s blood and would not drive each other out of their homes. You had accepted this and were witnesses to it.
The Cow/2:85
After all this, you still kill one another and drive out a group of you from their homes and unite against them in evil and enmity. It is already forbidden for you to drive them out of their homes, and as if that were not enough, when they are captured by you, you demand ransom from them. Or do you believe in part of the Book and disbelieve in part of it? What is the recompense for those who do so but disgrace in the life of this world and the harshest of torments on the Day of Resurrection? Allah is not heedless of what you do.
The Women/4:155
"Allah sealed their understanding because of their breaking their word, because they disbelieved in the signs and proofs of Allah, because they killed the prophets unjustly, and because they said: "We are fixed-minded", yes, because of their disbelief. Therefore few of them believe."
The Table Spread/5:13
We cursed them and hardened their hearts because they broke their promises. They take the meaning of words out of context. They have forgotten some of what they were warned about. From most of them you will see constant betrayal. Forgive them and ignore them. Allah loves those who do good.