It is He who made the sun radiate a brilliant light and the moon shed its lustre , and ordained for it stages so that you may learn to count out the years and [ to make other such ] reckoning of time . God has not created all these without a purpose .