Actually, godliness is a great source of profit when it is combined with being happy with what you already have.
We didn't bring anything into the world and so we can't take anything out of it:
we'll be happy with food and clothing.
But people who are trying to get rich fall into temptation. They are trapped by many stupid and harmful passions that plunge people into ruin and destruction.
The love of money is the root of all kinds of evil. Some have wandered away from the faith and have impaled themselves with a lot of pain because they made money their goal.