Should I pay off credit card debt using my 401k?

For background I’m 32 and over the past couple years due to a health issue and money mismanagement have accrued 22k in credit card debt. My current income is 70k

Problem: The interest has gotten too high a point where it’s really hard to pay off.

The quick solution is to use available funds from my retirement savings. I have 27k saved in a 403b from work and another 9k saved in a personal investment account.

Offhand what would you advise in this situation? Is it worth paying off credit card debt and go into savings?

It’s really humbling to get rid of 2 years of savings like that.