You frame the argument as if science makes religion irrelevant.
It doesn't.
Religion has adapted for millennia to new findings and science. Furthermore, science doesn't disprove that God exists - only that certain aspects of various books are likely allegorical.
Religion will not die out in your generation, not by a long shot. It may lose its majority status in some, maybe even many countries, but that doesn't mean that it will magically die because of science. Why? Because there are still arguments for the existence of God. They aren't scientific, nor should they ever have been. The arguments for God are more of a philosophical nature. Those arguments are likely to always exist, because they do not rely on empiricism.
Now, what will the effect be of religion losing its majority status? You're probably going to see the chaff that makes Christianity (as an example) so buffonish winnow away. When Christianity is no longer popular, the people that still adhere are going to do so because they're doing so out of their own volition, rather than cultural or societal norms. When that happens, it will be interesting to see how people handle the debate on religion - if atheists will simply kill or seek to hinder the religious through the courts, or if there will be civil debate. Either way, it'll be interesting.