Cannot learn righteousness?

Some think that God could have forgiven Adam and Eve in the Garden of Eden, instead of punishing them. Good logic. But God knows better than human reason. Prophet Isaiah writes: “If favour is shown to the wicked, he does not learn righteousness; the land of uprightness he deals corruptly and does not see the majesty of the Lord.” (Isaiah 26:10)
1) Wicked by choice: Adam and Eve chose to eat the forbidden fruit, not out of compulsion or coercion or desperate need. It was a wilful, voluntary, and even eager choice. (Genesis 3:1-7) So, their status as Innocents became Sinners. God knows how to treat the innocent differently from the wicked. Punishment is reserved for the wicked. (II Peter 2:9)
2) Land of uprightness: The world God created was not contaminated with sin. The Garden of Eden was a land of uprightness. That means the environment was pure or holy. There was no excuse for Adam and Eve to blame the environment. Many like to justify their sins by blaming their situations or contexts.
3) Disregard majesty of the Lord: When Adam and Eve chose to have conversation, trust Satan, doubt God’s Word; they disregarded the Majesty of the Lord. God’s authority over them was questioned or rejected. Lord God majesty is also a Holy God. His holiness demands that sinners are punished or propitiation is offered.
4) Will not learn: If God had forgiven them, or favoured them, they would never learn righteousness. As sinners, now it became absolutely necessary to learn the righteousness of God, or they perish forever. Adam and Eve could learn that a blood sacrifice is needed to cover their sins, that God graciously clothed them with animal skins. Humanity as whole had to learn that the Lamb of God must shed His blood for forgiveness of sins. Those who do not learn the truth of Lord Jesus’ crucifixion, death, burial, and resurrection will never receive God’s favour.
Instead of just seeking His favour, humanity should come to him in humility, repentance, and faith in Lord Jesus Christ.
Have I learnt the Path of Righteousness?