Religion used to be our way if life , it punctuated our day with prayers, our week with visits to church and our year with a myriad different festivals and saints days. A more accurate phraseology would be -
Science and tech has displaced religion as our way of life.
There have been more humans on this planet that have never known of the existence of a church yet alone been to one. Religion has been a very small part of humanity's life. I see religion as a belief that goes against the logic of current understanding of existence. So for many thousands of years past humans were not religious they were early scientists, having ideas of things and discovering patterns for things that worked in life and in society with no better option available to them. If new ideas came along they might be adapted and included. Religion as we know it which has formed over the minority of our past, hundreds of years has been about trying to keep the same ideas and refusing more logical answers.
Religion has I think a short life so far, it still is quite popular to some as it is connected to a notion of the self. I think in the future it will turn into something one just likes the idea of rather than believes in. For example I think liking the idea and love of the Star Wars saga will be more popular than the Bible therefore Christianity, for one thing it's a far more interesting story to pass on through the generations. It will mean people in the future will be maybe convinced Star Wars is/was real and be a religion. And it has a handy phrase "long ago in a galaxy far far away". How do you disprove that (you would only get asked to by a star wars fan). And it has the friendly "may the force be with you" social exchange. But there will lots of other "stories" along with that.
Stories not related to actual events will continue to be a strong part of human nature. Until we evolve a bit more biologically or hybridise with other technologies, perhaps socially interconnected ones where the notion of the self becomes a dead end concept of successful existence. A hive like human future wont get much from stories of self human worth or values or emotions. As they maybe too slow or inefficient conveyors of action and processing compared to direct commands and exchanges of information between us. There is only one direction humanity can lead to and that is to be more spread out and successful and powerful. Or eventually die out.
Keeping that in mind it's inevitable we will turn into a highly technical form that is very good at spreading, replicating and having high level knowledge. That might mean we turn ourselves into nano-scale beings, tiny "lifeforms" of huge ability. But also due to our physical properties can spread more efficiently through space time. At this point I doubt we would be arguing over who killed who or how to interpret the hallucinogenic mutterings of Jesus or some prophet you cant draw pictures of, even it's in laser quantum flash holo-pixels.
Having said that I can still imagine a big division of reasons for progressing, half of beings may be inspired and successful in developing technology because they want to find god which they are certain exists, so they must explore the entire universe and beyond looking for him. Which would lead to a real galactic Star Wars probably.