However, to make things simpler assume you don't have cash, for example, because you are unemployed.
So, if you are making the mortgage payments using the credit card and the total CC payments this year alone are 8% of the value of the house, you can see problem.
Eventually, the debt becomes due, and no amount of house will repay the incurred debt.
So the relationship is, you may buy any house (assets) that grows in any amount, but if your CC hole is growing faster, you are actually worse than you started out.