In the beginning, Ἐν ἀρχῇ. This is not the beginning of God, but rather the beginning of time, for He is the beginning, (Rev 1:8, Is 46:10) and the beginning came out of God.
The Bible gives us a few other references to the period before the creation of the world and the preeminence and supremacy of God, (Col 1:15-18, Eph 1:4, 2Tim 1:9, 1Peter 1:20). It is here at this point, I won’t say time, because time was not in existence yet, but at this moment, the Father commences His plan of the creation of His family. And He does not proceed alone, but with the Trinity, acting as One as we see this in the allusive Johannin Comma of 1st John 5.
1 John 5:7- For there are three that bear witness in heaven: the Father, the Word, and the Holy Spirit; and these three are one.
God wanted a family, and He started by creating the universe to house His family, but He didn’t create the universe alone. He, just like always, worked as One with Jesus and the Holy Spirit.
Now God, who is outside of time, knew the sin that would come about in this world. He didn’t create sin, and evil did not come from Him, but through the creation of man, and the free will that man was given, sin entered the world, and death through sin, (Rom 5:12, 1Cor 15:21). It was not a surprise to God that man sinned, for God knows all things, so why did God create man this way if He knew it would result in sin? Man had to be created with a choice, a free will to love Him. The Father didn’t want a servant or a robot that was forced to love Him. He wanted a family that would lovingly choose Him. Therefore, the Father’s creation was far deeper than merely making the worlds, it included the plan of redemption for mankind, and He developed this through and in Jesus. All our hope, salvation, grace, mercy and spiritual blessings were pre-deposited in Jesus before the foundation of the world, (Eph 1:3), available to all who would choose to love and believe in Him.
All this and more was established before time began, given as a free gift through Christ to those who would accept the Father’s invitation into His family.
Grace and peace to you from our Lord and Savior Jesus Christ