Religion is, and always has been, a tool used by those in power to legitimize the status quo.
Its primary purpose is to shift responsibility for actions onto fate and thus divert attention from the fact that it is people who are responsible for these actions. In this way, even the most unfair and exploitative conditions can still be portrayed as just: the king by the grace of God, the kingdom of heaven that awaits the patient after death, hell that punishes the greedy, making it unnecessary to hold them accountable in this life, and so on.
This also works in reverse to strip people of the self-confidence that they can achieve things through their own efforts: Thank God for the food he has put on the table, for your success, and for everything else, because he has given it to you in his infinite generosity - don’t even think of making demands.
In this sense, religion provides a justification for hierarchies in society. It cements the status quo in the interests of the powerful.
Hence: People who do not question this narrative - which serves their own exploitation - but have made it the purpose of their lives are quite strange, because they are thereby harming themselves.