Humans need a god figure in order to feel confident about their choices or feel forgiveness for morally degrading actions.
[citation needed]
Maybe you need a god figure to feel confident in life, but that doesn't mean everyone does.
Also, a lot of these "morally degrading actions" are only morally degrading because your religion says it is. It's creating a problem just to give you a solution to a problem that didn't previously exist
Why does it even matter why religion still exists? There it is, accept it and move on.
It doesn't really matter that it exists, the problem is it doesn't
just exist. People use is teachings to modify laws, science curriculums, etc, that affect people other than themselves, and in
extreme cases, to justify murder. People can believe and do whatever they like as long as they're not pushing it on others