And We created not the heaven and the earth and all that is between them without purpose! That is the consideration of those who disbelieve! Then woe to those who disbelieve (in Islamic Monotheism) from the Fire! 27 Are We to make those who believe and do good works the same as those who corrupt the earth? Are We to make the righteous as the wicked? 28 (It is) a Book We have revealed to you abounding in good that they may ponder over its verses, and that those endowed with understanding may be mindful. 29 We bestowed Solomon on David who was an excellent devotee, for he turned to God in penitence. 30 When there were brought to him in the evening (horses) still when standing, swift when running-- 31 he said, "My love of horses for the cause of God has made me continue watching them until sunset, thus making me miss my prayer". 32 Bring them back unto me; and he set about slashing their legs and necks. 33 We tried Solomon by placing upon his throne a [lifeless] body; and thereupon he turned towards Us]. 34 He said: 'Forgive me my Lord, and give me a kingdom the like of which will not befall any after me, surely, You are the Giver' 35 So We subjected to him the wind blowing by his command, gently, wherever he directed, 36 And the devils -- the builders and divers of all kinds, 37 and others linked together in fetters. 38 “This is Our bestowal – you may therefore bestow favours or withhold them – you will not be questioned.” 39 And most surely he had a nearness to Us and an excellent resort. 40