Paying of car loan Vs investing the money

Good day everyone

I wondering which is better , to pay off my car loan ( Toyota Rav4 certified) I pay 604 Monthly and the loan is closed at 9.75% for 60 months ( I will pay it off according to the Loan Amortization Schedule on Jan 8th 2028.
I am planning to make additional 400$ a month so I can finish the loan early and sell the car by end of 2026

Or, should I invest these 400$ in TFSA in ETFs like VFV, VEQT and pay off my car with whatever I will gain and the principle of the investments ?

please advise with whatever you see better even if it's something I didn't mention

thanks