He created the heavens and the earth with consummate wisdom . He winds the night over the day , and winds the day over the night , and He has disposed the sun and the moon , each moving for a specified term .