Taking on debt is sometimes necessary as a company expands or when business slows due to economic volatility.