Whatever it is about ourselves that gave rise to religion and god will still be with us even if we get rid of religion/god.
Not true quietlyleaving. For example, whatever gave rise to our need for a vermiform appendix is clearly no longer with us and we are now left with a vestigial and redundant organ which may eventually disappear - I think. Whales certainly do not need the legs their ancestors once had and evolution has properly made those skeletal limbs shrink to almost nothing. ( 'c' are the Whales hind leg bones!)
I honestly believe that humanity can not only be rid of religion and god but also be rid of the need for them and the causes of them!
One day.