Credit card debt comes with much higher interest rates than mortgages.
You may be able to roll your credit card debt into your mortgage so that all of your borrowed monies benefit from the lower mortgage interest rate.
Lenders look at your credit rating, so in order for your business to be desirable to them and for you to get your best deal from them, it is preferred that credit card balances are not at their limit.