Advice invest or pay off

Hello I have 140k saved up in a HYSA have no debt , and owe 150k on mortgage should I pay off the house by January 2025 or invest it better?