Why is religiosity decreasing in the world?

Unfortunately, atheism is on the rise. I think the world becomes a worse place as atheism increases. I don't believe that an atheist can be a good person. Because someone who doesn't believe in God doesn't think about doing good. What do you think?
Why is religiosity decreasing in the world?
Post Opinion