Money rules the world and every aspect of life, which is why everyone is looking for it. We rely on it and live for it, but some people work for it and get paid for it but don't use it. For example, some wealthy people accumulate money but end up spending it on the charity, this is their philosophy and it works for them, not because they desperately want it.
Religion and money are unrelated, a person can make money in any way he wants, whether illegally or legally, as you have stated, however, I don't believe you can please your religion illegally, that would be deceiving yourself, however, in the case of money, it doesn't work that way, regardless of how you made the money, it can be spent in any way.
We have to be honest that most people can't live without money, especially if they live in a big city, which requires a high cost of living. The demand
for making money is a must, so it's no wonder that many people every day only focus on making money and forget to enjoy life. It's not surprising
that in the end money becomes the most important thing in human life, actually making money must be done, so that we can buy our daily needs.
But do not overdo it in looking for money, because too obsessed with money, only makes us greedy and that's not good. Greedy can make people
do anything to get money, even if they have to do it illegally. So religion is needed to control this, all religions teach goodness, that's what ultimately
leads people to make money by legal means.