Religion is to educate the world, that is, to guide people to do good and purify people's hearts through education, but this is one aspect of religion. We should realize that kindness, kindness to others and helping others are the laws of the world. To put it bluntly, it is not the whole of religion, let alone the focus of religion. Religion should be an innate education, and its essence is to teach people to get eternal liberation.
Take Buddhism as an example. Doing good is only a worldly law, but it is not truth. Without bodhicitta and a detached heart, it will only be a blessing to people, and they will become heaven and man in the afterlife, or people who are either rich or expensive. In this way, even if your blessings are great, you will enjoy them all one day, and then you will fall and sink. Besides, we must know that the greater the wealth, the greater the evil, and the richer and more expensive the people, the easier it is to create endless evil. Just like a rich man, a good meal, countless beings suffer. Ordinary people's evil thoughts may pass by just complaining, but people with strong abilities can easily turn bad thoughts into reality.
Therefore, the most important thing for religion is to have a heart that leaves the world and jumps out of reincarnation, so as to do good, feel him consciously and achieve ultimate perfection.