In my teens, some of the imaginative fiction that I read contradicted my religious education:
we were told that there was no reincarnation yet one comic book superhero was a reincarnation of an ancient Egyptian;
we were told that the Catholic Church would persist until the end of time yet many sf novels set in the far future showed no surviving Christianity;
we were told that any unFallen race would know of God yet James Blish's "A Case of Conscience" ended with an unresolved theological problem - the Lithians were sinless yet Godless;
we were told that God was indestructible yet He died in Blish's Black Easter.
The problem in "A Case of Conscience" was resolved, for me at the time, when this work was novelized and, in the extended text, the fictional Pope suggested that the Lithians were a demonically initiated planet-wide hallucination. Now, I would find such an explanation highly implausible. Data that contradict received beliefs do not exist? Fossils are a test of faith? (That issue also is discussed in ACOC.)
In Poul Anderson's works:
the Technic History has a Jerusalem Catholic Church in the Terran Empire but we are not told whether Christianity survives into later civilizations;
it definitely does not survive into the far futures of other works like Genesis;
"The Martyr" ends with a member of a superior race disclosing that human beings do not have immortal souls.
Once, I would have found such contradiction of received beliefs troubling. Now, I do not subscribe to those beliefs and in any case welcome any speculation in either fiction or philosophy.