What was God doing before the earth was created?
Beyond planning how He would save His creation, we are not told.
"He indeed was foreordained before the foundation of the world, but was manifest in these last times for you" (I Peter 1:20).
"Just as He chose us in Him before the foundation of the world, that we should be holy and without blame before Him in love" (Ephesians 1:4).
"Then the King will say to those on His right hand, 'Come, you blessed of My Father, inherit the kingdom prepared for you from the foundation of the world'" (Matthew 25:34).