satans heart became prideful before Adam ,like looooong before .Had he not rebelled ,he, nor Adam would had been placed in the Garden .They were in the Garden before the Garden
Let's go to Ezekiel and let the Word explain
Ezekiel 28:14 "Thou art the anointed cherub that covereth; and I have set thee so: thou wast upon the holy mountain of God; thou hast walked up and down in the midst of the stones of fire."
Now we know this one in Eden has to be Satan, and not Adam, for a cherub has never lived in the body of a man. Back in the thirteenth verse there are ten precious stones mentioned , and each of these stones are on the breastplate of the of the high priest. Before Satan's fall, he sat in an extremely high position, of responsibility.
Satan was anointed by God to fill that high position. It was not an accident of God that Satan sat in that position, for Satan was created and anointed for that position; and he failed.
The position of the "cherub" is to protect the mercy seat of God. "Coverth" means to guard, in the Hebrew text. God is saying that "I set you there on mine own altar, and you walked before me." It is because of Satan's vanity that he turned against God, and this caused Satan's sentence of death. It was because of this sentence that God also allowed for His own Son to die, to pay the price of all sin, so those who fall from God's grace, can return to His.
Ezekiel 28:15 "Thou wast perfect in thy ways from the day that thou wast created, till iniquity was found in thee."
Satan was perfect in every way, until he stopped loving God. Satan's focus then turned from serving God, to serving himself. Doing things his way. God created all souls, and gave them the right to choose. He has the right also to receive our love and respect, so we should take the time to tell him we love Him.
Ezekiel 28:16 "By the multitude of thy merchandise they have filled the midst of thee with violence, and thou hast sinned: therefore I will cast thee as profane out of the mountain of God: and I will destroy thee, O covering cherub, from the midst of the stones of fire."
This is the over-throw from the world that was, the first earth age. God told Satan that he was to be removed from the altar of God.