Listen. I believe that you have tried to live your life to the best of your ability according to what you sincerely believed and was taught was the right way to understand the teaching of the Bible.
That being said I also believe that you have the honesty, love for Jesus , courage, humility, and self respect, to acknowledge mistakes and correct them. Don't feel bad about mistakes. Rejoice in knowing now what you never knew before and still have time, life, to serve God more perfectly
Just remember Lots wife. Rise from the dead, walk the straight and narrow armed with new knowledge understanding and renewed faith in the Truth revealed by Jesus, and never look back