In Genesis 1:1-2, God creates chaos and starts to bring order into the world.
In Genesis 2, the author is retelling the creation story. You can tell because Adam and Eve are made on different days, and Adam precedes the plants and animals. That’s not a contradiction any more than Jesus telling a set of parables about sheep, coins, and prodigal sons is a contradiction.
But anyway, the chaos/order motif is still present in Genesis 2. Man must tend the garden (Genesis 2:15). There is a wall (garden means ‘enclosed region’). The waters, which represented chaos in Genesis 1:1-2 are present but flow out of the garden (I suspect we’re supposed to suppose that that’s how the serpent got in).
Anyway, Eden represents a sort of ideal picture of the correct composition of chaos and order, potentiality and actuality.
It’s important to see Eden as a picture of the promise to God’s people as well, and the Bible gives us that, but in Genesis 2, Eden isn’t that yet. For instance, when Adam is put there there is something “not good” (Gen 2:18).
I think there’s a moral/spiritual application of the Eden story which we often overlook about how we manage our families, property, work space, and so-on. There will be a measure of unrealized potential in any well-ordered space. If you over-order a garden (let’s say by mowing it down) it’s not longer beautiful nor fruitful. But there’s less chaos. If you let a garden overgrow too much, perhaps there will be no safe fruit left.
So there’s a picture of something like, “in the space which God gives you, you’re responsible for ensuring that it is orderly in a fashion that does not destroy it’s potential but brings new potential out of that place.”
Of course, every choice to create order in a room or in your life is saying no to millions of other choices. But each new choice can be made in a way that makes space for new chaos/potential to be discovered. There are Proverbs about this very thing:
Proverbs 14:4 Where there are no oxen, the manger is clean, but abundant crops come by the strength of the ox.
Proverbs 24:27 Prepare your work outside; get everything ready for yourself in the field, and after that build your house.
Without an ox, there’s no ox cleanup (less chaos), but there is more work.
If you build yourself a house where you can relax and chill before you order your field in a fashion in which working it is convenient, you may not work.
And here are some OT laws about this:
Leviticus 25:1-7 ESV The LORD spoke to Moses on Mount Sinai, saying, (2) “Speak to the people of Israel and say to them, When you come into the land that I give you, the land shall keep a Sabbath to the LORD. (3) For six years you shall sow your field, and for six years you shall prune your vineyard and gather in its fruits, (4) but in the seventh year there shall be a Sabbath of solemn rest for the land, a Sabbath to the LORD. You shall not sow your field or prune your vineyard. (5) You shall not reap what grows of itself in your harvest, or gather the grapes of your undressed vine. It shall be a year of solemn rest for the land. (6) The Sabbath of the land shall provide food for you, for yourself and for your male and female slaves and for your hired worker and the sojourner who lives with you, (7) and for your cattle and for the wild animals that are in your land: all its yield shall be for food.