A lot of the older sci-fi isn’t about Marxism either, unless to show how it doesn’t work. Atheism is a much more common subject, that’s true. There were exceptions, Gene Wolfe and RA Lafferty to name two older ones. And CS Lewis of course.
Freegards
Heinlein & Herbert both postulated that islam would become the dominant religion in the future.
Mark