What few of us understand is that we Westerners have inherited a dual heritage. We have inherited the Greek philosophical heritage and the Jewish religious/spiritual heritage. The theologians, in particularly Thomas Aquinas tried to combine both points of view, but this was not totally successful.
The part of us that thinks God and the world should be “perfect” is Greek. The part of us that know life, death, and reality is Real is Hebrew. In the sense that science is this worldly it is Hebrew, when we usually think of science as rational and Greek.
Greek equated salvation with immortality and perfection. Hebrews equated salvation with keeping the Law and moral goodness. Going to heaven is the Greek version of Christianity, when Jesus taught becoming a member of the Kingdom of God on earth, which is a Hebrew view.
The Bible teaches that God created a “good” universe, not a perfect one. Something that is perfect does not change and indeed cannot change. It is self-contained and perfect as is.
If we are going to say that something is perfect, then we would have to say that God is perfect. Only God is Who God is. God never changes. That would mean that if God would create humans as perfect beings, God would have to create them exactly like Godself. Even if God could do this, why would God want to clone, so to speak, Godself.
Then too if I were not just in the image of God, were actually God, how would I benefit? I would have nothing to do, nowhere to go, no friends or family, no nothing.
So God is God’s wisdom created humans to be not God, but good. not God, but in the image of God. God gave us things to do and choices to make, just as God made things ands hard choices in making the universe.
However this meant that humans were limited creatures and this means that we do not live forever in this world, even though we do have eternal life when we enter the Kingdom of God, which no one seems to bring up in this discussion.
Christianity does make room for both Time and Eternity, perfection and trial. Let us not become seduced by the Greek ideal to think we can have one without the other. If a good and perfect God could not create an imperfect world, then God would not and could not have done so.
But God in God’s Wisdom and Goodness found a way to do so. We need to thank and praise God for the Wisdom and Goodness for finding a way to create us, instead of complaining that we are not perfect, when there is no way that we can be human and perfect.