If you are worried about not being able to use your HSA balance in the future, consider the amount of money you could spend in retirement on medical expenses alone.
While annual contribution limits for IRAs are lower than employer-sponsored 401(k) plans, you can still contribute $6,000 per year as of 2022, or $7,000 if you are age 50 or older.