I really feel for you OP.
My now exH accumulated a similar amount of debt before we were married, but I only found out about it about 6 months into our marriage (when the mortgage payments started bouncing).
In his case, it was incredibly, just frittering it away, spending on bits & pieces all the time, increasing his o/d, taking out ew credit cards etc. Before we were married, I thought he was great with money - he could always afford meals out, gifts for me, holidays when I couldn't. (We didn't live together before we were married. I know. 🤦🏻♀️)
When I found out I did all the work of consolidating the debt, setting up repayment; salary went to joint amount, he had limited spending in his personal account.
Technically it should have solved things. It didn't. Somehow, he kept spending, using joint money, savings, even when we both lost our jobs at one point, when we had kids. I spent years desperately trying to manage, to talk to him, to 'fix' it. It was a nightmare.
There was other abuse too (very serious) but this nearly destroyed me. I remember the night I finally decided I'd had enough. We had €125 to last till payday - 2 weeks away - he knew this. He insisted on going out after a match. He would have 'one drink'. I was 'controlling' to stop him. He spent every penny. And I finally told him to leave.
I'm not saying your husband is abusive. But this behaviour, of accumulating debt, and refusing or being unable to tell you where it's gone, rings so many alarm bells.
Although you've 'solved' the problem for now, it's not really fixed until he properly addresses it, is honest & commits to change in himself.
Otherwise at some point it will happen again. When there is some vulnerability, some opportunity.
And without trust, there's no relationship at all.
Good luck 💐