All of creation, in the biblical view, was to ultimately prepare the way for the creation of man. But one does not need the Bible alone to hold this view. A purely scientific reading of the universe is in keeping with this view. Everything - every natural and physical law - is exquisitely tuned to produce life, and ultimately man, on earth.
Dennis Prager: Volume I: (ed. Creators Publishing, 2015) - ISBN: 9781942448396