It’s Up to you entirely of course and you ask how to navigate this awful situation. My answer is influenced by learning from others mistakes.
My MIL was led a dogs life by my FIL who did what your husband has done, not once, twice but 3 times through their marriage.
She stayed and of course was then embroiled in participating in paying back his debt.
The impact on her and her children was immense.
They suffered. Their quality of life was diminished and the impact was devastating over and over because of his self centred, selfish incompetence.
The man still to this day has a problem that needs to be managed by his family.
As far as I can see, there has never been any consequences because his life stays the same, his loving wife stuck with him, doing without, his kids were still around him, doing without and he, whenever he wanted, just got another credit card and did it all over again.
She died and while dying asked my dh to try to keep the roof over his dad’s head by controlling the money. Her abiding worry was still his shit behaviour as she died.
So, how do you navigate this? You fucking run as far away as you can for the sake of your kids and your own future. He will fuck you over repeatedly.