And We broke them up into (separate) sections of peoples on the earth, of which some are the righteous and some otherwise, and We went on distinguishing the good among them from the evil ones, through prosperity and adversity (both) so that they might turn (to Us).