Ephesians 3:10-11 (KJV) To the intent that now unto the principalities and powers in heavenly places might be known by the church the manifold wisdom of God,
According to the eternal purpose which he purposed in Christ Jesus our Lord:
God is a God of purpose. Everything He does has a definite purpose. There is a plan for everything that He does. There is a definite clear cut plan for whatever He does. He has a reason for everything He created. There is a reason for creating the universe. There is a reason for creating the solar system. God does not do anything out of carelessness. He is always purposefull in all His works.
God created the universe and the entire solar system to house the man which He made. He made the earth with everything and all the components in it for it to serve as a home for the man that He created. The purpose of the earth and the universe is for it to be a home for man.
God made all the other forms of life for a purpose. He created the plant and the animals for a purpose. The purpose of God for creating the other lower forms of life (that is the plant and animal lives is for it to sustain the human life). Every other creations of God was made to sustain the human life.