Rather, you pay taxes on the income you use to repay the loan. Plus you pay the interest on the loan.
This basically defers the taxes to a later date and charges you interest for 'em. Which might be worthwhile, depending on how quickly and reliably your capital is growing.