You are talking about very high interest rates compared to today, but let's go with that. You are now given a third option to repay the loan-withdraw the 600k and use it to repay the loan. You are probably expected to assume the investment will last as long as the loan, so 5 years. The balance at the end of 5 years would be $600\cdot 1.14^4 \approx 1155$ As that is less than the sum of payments on the loan and the loan payments come earlier, it is better to withdraw the money and replace it by saving the money you would have used for loan payments.