GENESIS 2:5
before any plant of the field was in the earth and before any herb of the field had grown. For the Lord God had not caused it to rain on the earth, and there was no man to till the ground; [Genesis 2:5 NKJV]
Now no shrub of the field had yet appeared on the earth, nor had any plant of the field sprouted; for the Lord God had not yet sent rain upon the earth, and there was no man to cultivate the ground. [Genesis 2:5 BSB]
Remember the days that were separated in the previous account are unified into a single day in this account, and many that were first then came last now and some that are last came first. This account is about the generations of the earth in the prolonged or elongated day the earth (dried ground) and heaven (firmament) were made by God.
Now, according to this Bible verse above, behold the order of how things emerged or appeared on earth (Generations of the earth) instead of the order of how God spoke them into being.
Before the plants was in the earth and before any growth of any herb on earth, there was a delay on the part of the Lord God Himself that withheld Rain from falling on the entire earth and there was no man to do that either in man's way of making plants grow. So God was delaying to cause the rain, and no man existed to create any reaction on the ground, and both meant nothing to trigger the emergence of plants on earth.
From these that proceeded, we may correct two or more impressions or teachings:
*1* Correction to — "There had been Garden of Eden before Adam came, and that the Serpent or angels were in charge there before Adam."
The Garden of Eden was not existing anywhere, since there was no plant on earth and God had not caused Rain to fall. Actually, the delaying to cause the rain to fall was purposely for God to Plant the Garden of Eden first before any other plant on earth emerged. This was like God delaying pregnancy to a couple that is seen as barren, but purposely for God to prepare special and extra ordinary firstborn child for that barren women. Thus, the delay or barrenness (unfruitfulness) was God's period of preparing the best fruits or outcome for him/her. So it was that the earth, which was barren due to the Lord God's delay, suddenly brought forth not just plants but Glorious Garden.
Now, the Garden was not existing before Adam was made; rather the Garden of Eden was planted after Adam emerged from the ground. Thus, Adam was the first being God put in the Garden to dress and keep it, before any Serpent or Animal ever came into the Garden of Eden.
Now the Garden of Eden was the first Heaven, which began after or during the formation of Adam from the ground. For purpose of leaving no doubt, there's difference between "First Heaven" and "Heaven" in this Commentaries.
"Heaven" means "Firmament or Places Above the Earth:" this heaven had been long before Adam was made. On the other hand, "First Heaven" means "Kingdom of Man or Reign of Man or Dominion of Man etc over the earth and the creatures therein."
"Second Heaven" means "Kingdom, Dominion or Reign of the earth, world or ground (grave and death) over mankind and all creatures therein." For through Adam's sin, Death reigned even over those who did not sin like Adam did (Romans 5:14-17). Basically, all the kingdoms, governments and powers of this world are part of the reign of this world (second heaven), which is different from the reign of man (first heaven), though men mount those kingdoms or governments of this world system; and the whole world lies under the power of Wickedness [1 John 5:19]. It's through wickedness and the power of Wickedness that those who reign in this kingdoms of the world thrive, just as the power of death to reign thrives through sin (wickedness). Same with hell.
"Third Heaven" means "Kingdom of God, Kingdom of Heaven (not of earth nor of this world, but) on earth or the Reign of God with us "Immanuel" on earth as it is in heaven."
Now, by way of general rule, whoever comes first in a kingdom automatically becomes the ruler of that kingdom. Man came first in the first heaven or in the kingdom of man, Garden of Eden, before the Serpent. If the Serpent had been in Eden's Garden before Adam, the Serpent would have been the ruler of that kingdom. Who is the First Man or First Lady in your Country?
Though Ezekiel witnessed the Cherub that covers had been in Eden, the Garden of God, it doesn't imply that Cherub was there before Adam.
*2* Correction to — "There was other man or men God created before Adam."
No way, for according to the top Bible verse above, "There was no man to till or cultivate the ground." On the entire ground or earth, there was no man existing anywhere until God formed Adam out of the dust of the ground.
Therefore, discountenance any teaching suggesting people were existing as men or women in the world on earth somewhere before Adam was. Satan the spirit of the Serpent began promoting this fake news, even to Adam and Eve. Nevertheless, angels, spirits etc, existed and walked in likeness of man, before Adam was formed as the First Man of the earth in the Image of God. Whatever Creature that could not till or cultivate the ground was not a "Man" or “Husband” even if such had likeness or appearance of man.