You are correct. Equally if you are in a seriously cashflow constrained situation it's not so easy, which I think is what was being said.
I'm clearly telling you how to suck eggs but I don't think a lot of people really understand the problems of cashflow compared to profitability.
If cashflow is tight, at least finance is very cheap at the moment. Sometimes you have to spend money to make money. Depends on the fundamentals of the business how much credit can be accessed and at what price.
Very hard to generalise.
I recently completed a $900k CAPEX project which will payback in 6 months, and reduce environmental impact. It was paid for with a combination of vendor finance (partial deferred payment) and bank finance. After six months every dollar saved goes straight to EBIT.