That's a pretty big chunk of change to spend to boost your credit record
https://www.bankrate.com/loans/auto-loans/rates/
It can still make sense to hang on to the cash if you don't otherwise have a cash reserve.