Hello, non muslim here.

I am an agnostic christian. I was previously convinced that my faith is true and that islam is a lie but recently I started to question my faith and began to do some research on the development of abrahamic religions. Doing this made me realise how a lot of the things I was taught about my religion may not be true and I also learned that the biblical stories are fictional (I'm aware that some of them might be based on a historical event). I'm currently reading the bible to improve my knowledge about the history of the israelities and how their god yahweh gradually became the only god. After that I'm thinking of reading the quran and understand it. I'm an arab so I hope that I will not face a big issue in understanding what its verses mean. I have heard that it contains scientific mistakes and some verses that are violent and that put women in a disadvantage. I have also heard that muhammad might have invented verses in purpose of serving himself. Knowing about these things gives me a negative picture of Islam and makes me doubt that the quran is the true word of god. Yet It seems when it comes to the stories the quran doesn't seem to care about whether these tales actually happened and it focuses more on the lesson. There are also muslims who are aware that the stories told in the quran are not real but rather they exist to pass a message. I am aware of the fact that most of the stories in the quran are in the bible and other sources such as the mishnah, talmud and apocryphal writings. It also contains jewish and christian and zoroastrian legends. Despite that, I'm still afraid of the fact that I might be wrong about the quran not being divine. I always wonder how Muhammad could have possibly have knowledge of all these tales and also tell unique parables. How can the quran be written in such a beautiful language and also describe additional things in juedo christian stories such as the sun position in the story of the seven sleepers. It is beyond my comprehension that a person can gather many of these information about other religions. I am in the need of answers. I don't want to end up in hell.