Oh, boy!
The philosophical debate you set up is similar to The Problem of Evil originated by Greek philosopher Epicurus -
If God exists, then God is omnipotent, omniscient, and morally perfect.
- If God is omnipotent, then God has the power to eliminate all evil.
- If God is omniscient, then God knows when evil exists.
- If God is morally perfect, then God has the desire to eliminate all evil.
- Evil exists.
- If evil exists and God exists, then either God doesn’t have the power to eliminate all evil, or doesn’t know when evil exists, or doesn’t have the desire to eliminate all evil.
- Therefore, God doesn’t exist.
My issue with the line of thinking is that "good" and "evil" are concepts created by theology and western culture. This is as opposed to that which is beneficial and that which is harmful in eastern culture. Good and evil are binary concepts which are often trademarks of Abrahamic faith's influence.
Also the idea of suffering. There is pain which is a beneficial function of the central nervous system. Then there is suffering which is a mental anguish generated by a combination of concepts, beliefs, and how one orients themselves to an event. In short - we create our own suffering.
So, yes, the Genesis account makes absolutely no sense. There are many responses by Christian Apologists to this. However, those responses do not stand up to logic and reason.
Here is an interesting video on the topic. The end of it has a line of questions to ask Apologists that shows the fallacy in their response.