It is He who has made you successors [ of others ] on the earth and has exalted some of you over the others in degrees of rank , so that He may test you by that which He has given you . Your Lord is swift in punishment ; yet surely He is forgiving , and merciful .