Maybe he should have thought about all of this while he was busy being a nightmare!

Mel B's ex Stephen Belafonte has filed new legal docs in their divorce case, and claims he's broke and has been couch surfing with friends because he doesn't even have enough money for an apartment, TMZ reports.

Belafonte says the former Spice Girl is making the sale of their $8 million home difficult on purpose, and he wants an undisclosed amount in spousal support. "We lived a very comfortable, upper-class lifestyle ... money was never an obstacle," he states in the docs. Apparently, he has a $60K balance on his credit card he can't pay off either.

Mel, on the other hand, has no problem raking in the dough. She reportedly makes $250K per month, and banked $1.5 million for America's Got Talent in 2015. She also makes $300k a year from Jenny Craig endorsements and $400K a year for various other business ventures.

This guy should crawl back in the hole he crawled out of.