The Spoils of War - 8:73
And those who disbelieve are friends of one another. If you do not implement these commandments, there will be chaos and great mischief in the earth.
The earth would have been corrupted had not Allah repelled some of the people with some of the people:
The Pilgrimage/22:40
"Those who were unjustly expelled from their land only because they said: "Our Lord is Allah". If Allah had not defended some of the people against others, the monasteries, churches, synagogues and masjids in which Allah´s Name is much mentioned would have been destroyed. Allah will surely help those who help Him. Allah is Mighty, Powerful,"
Council/42:42
But those who oppress the people and those who attack unjustly in the land should be opposed. For them is a painful torment.
The Cow/2:251
Finally they defeated them by Allah´s permission. David killed Goliath. Allah gave him sovereignty and understanding and taught him whatever He willed. The earth would have been corrupted if Allah had not repelled some of the people with some of the people. But Allah is gracious to all creatures.
The Spoils of War/8:72
Those who believe and migrate in the Way of Allah and strive hard with their wealth and their lives and those who shelter them and help them are friends of one another. Those who believe but do not emigrate with you, you are not responsible for them until they emigrate. But if they ask you for help on account of their religion, you should help them, provided it is not against a people with whom you have an agreement. Allah is All-Seeing of what you do.
The Spoils of War/8:73
And those who disbelieve are friends of one another. If you do not implement these commandments, there will be chaos and great mischief in the earth.