Assets = Liabilities + Equity.
In other words, $350k home = $300k mortgage + $50k in equity. You still have debt. Its just that the debt was exchanged for something. Its the same equation for credit card debt.
No one takes on debt without receiving something in return.