God created Eden because He created Mankind for gardens. We know our human need for gardens was already in His mind because He is the God Who Prepares. He prepared Eden, then He made us and placed us there.
Since our own “better idea” got us expelled, we’ve been trying to get back into the garden. That’s what every religion wants. Rather than trying to outsmart God as our means to return to the garden, we could just follow His plan and live in house-gardens. Sustainable food from home could bring world peace because everyone would already be in gardens.