And We have split them up on the earth as separate communities. Among them are those who are righteous, and those who are not; and We have tested them with blessings as well as with afflictions, that they might turn back (to the right way from the misleading paths they follow).