Unless it breaks your bank and you bankrupt. I mean there is a limit to it, someone who makes a grand a month, should not be losing 150k grand, no idea how he even got that much, but as an example, he wouldn't be able to pay that back as a debt. These days many nations have high rates, so it would be a silly move to just make that work.
So yes, failure is not final, and yes you can get better, but you should also make sure that you are careful, don't just trade it all away. If you do that, then you may end up hurting your economy so badly that it may not be possible for you to recover from that without bankrupting, and when you do that then you are going to be forced to pay that back, like seizing your house or whatever. Be careful.