I think the way most people rationalise it, it's a pre-requisite for having a job. So it's income-generating and therefore morally ok to take out a loan for it.
You could list a few, otherwise I'm just guessing at what you mean.
Your work requires expensive gear - maybe it's a car, or smartphone, or computer, or ebike, or HVAC tools, or camera, or musical instrument - why not pay for them over time as they help generate income?