Need advice about purchasing car

Personally, I would pay of the loan (and any other debt) and put what’s left into an account to replace the car when it eventually dies, also put an equivalent of your current car payment in the fund. That way you can pay cash for the next car.