I was in a similar situation about a decade ago, but reversed: I had $40k student loan debt, my new bride had the cash. At the time the loan charged 10.25% which sounds excessive, but her money was parked in a 12-month CD paying 6.5% (I really miss those days...).
Simple math said we were losing money by holding onto the cash, especially if you make anything close to six figures when the student loan deduction starts to decrease.
Can you make more money investing than you would save by paying off the debt? If you think not, settle it and never look back.