That’s your interpretation of a mythological text shared by many of your fellow christians and muslims. So Adam & Eve had to eat from a fig tree to realise being naked was a sin? What exactly is so sinful about being naked? I don’t think cavemen had their Diors or Armanis to suit up. Did their sudden knowledge lead them to worship other deities, which according to the Ten Commandments is the worst sin of them all. Did humanity start murdering each other at the point Eve was beguiled by the serpent? I say all this to illustrate the absurdity of such beliefs, whether it was meant allegorically or literally.
It’s no accident when the protestants broke away from the Church, its power waned. Once christians began to read and analyse scripture on their own, they became more likely to critique it. Before that, knowledge was handed down by the absolute authority, the Church. What it said was absolute truth and dogma. After all, it wasn't very wise, nor safe putting it mildly, to question his holiness, God's rep on earth, the infallible pope.
No. That was not my interpretation of the text. That is what the text says, and how Christians have understood it from the very beginning of Christianity.