And We did not create the heaven and the earth and that between them aimlessly. That is the assumption of those who disbelieve, so woe to those who disbelieve from the Fire. 27 Do We consider the righteously striving believers equal to the evil-doers in the land? Are the pious ones equal to those who openly commit sin? 28 This is a blessed Book which We sent down to you [Muhammad], for people to ponder over its messages, and for those with understanding to take heed. 29 We gave Solomon to David; and he was an excellent worshiper, he was penitent. 30 Behold, there were brought before him, at eventide coursers of the highest breeding, and swift of foot; 31 he said, 'Lo, I have loved the love of good things better than the remembrance of my Lord, until the sun was bidden behind the veil. 32 "Bring them back to me!" -- [he said] and began to stroke their legs and their necks. 33 And, indeed We did try Sulaiman (Solomon) and We placed on his throne Jasadan (a devil, so he lost his kingdom for a while) but he did return (to his throne and kingdom by the Grace of Allah and he did return) to Allah with obedience and in repentance. 34 He said, "My Lord, forgive me and grant me a kingdom such as will not belong to anyone after me. Indeed, You are the Bestower." 35 So We subjected the wind to him, so that it ran softly by his command wherever he wished; 36 and the Satans, every builder and diver 37 And also others bound in fetters. 38 "This is Our gift," (We said to him), "so bestow freely or withhold without reckoning." 39 And verily for him is an approach with Us, and a happy end. 40