The tree in Eden is referred to tree of knowledge of good and bad.
God warned them NOT to eat from it or they would die.A&E were not deprived of anything.By obedience they would show their love and accept Jehovah as their rightful ruler.
Satan a rebellious angel used a serpent as a ventriliquist uses a dummy and deceived Eve to make it sound like God was holding something better back from them and they wouldnt die and have their own choice of whats good and bad.Eve was deceived and talked Adam in to disobeying.After the sin Eve blamed the serpent and Adam blamed Eve.Then they realized they were naked and God pronounced judgement on all 3.If you know how to use a bible you can read the accounts in Genesis.
That doomed them and the human race.Pronouncing sentence to the serpent God said there would be a seed to break up the devils sin.That seed was Jesus who gave his perfect sinless life to balance the scales of justice with Adams sin.
God has let the last 6000 yrs of satanic manmade independent rulership apart from his it doesnt work.History shows that.Thats why God didnt kill the rebels immediately.Satan and man have had their chance to govern.It doesnt work.
A&E had the prospect of living forever in a paradise earth but blew it.But jehovah knew some of the human race would obey and love him and his original purpose will be fulfilled.He allowed them to have offspring.Adam died a little over 900 yrs of age.Within God day which is 1000 of our yrs.
Our lives depend on what side we are on.God gave mankind the bible,his prophets and of course Jesus.He didnt leave mankind in the dark.Sadly much of mankind has preferred that.
Satans selfish desire to also be a god worked on many where he was served.But in the end Jehovah proved the devil a liar that NOT all would serve him.It took a heavy price because of what many went thru,especially Jesus.But their faith saw the reward and God will justly reward them for their love of him.
AS Jesus said in Math 12:30 Whoever is not on my side is against me,and whoever does not gather with me scatters.