We split them up into sections on the earth . Some of them are righteous while some of them are otherwise , and We tested them with blessings and misfortunes , so that they might return to the right path .