Given That a Credit Card Company Can “Take Your House,” Why Are Credit Card Rates So High?

My impression is that if a person declares bankruptcy, credit card companies can force the person to sell their house and use the proceeds to pay off the credit cards.
So, if a person owns a house, why do credit card companies charge such high interest rates?
I am aware that lots of elderly people [...]