Proceeds from the sale of an inherited house

We are using the proceeds from the 2024 sale of the inherited house to pay for our mother's long-term care. How is this accounted for since it's possible most of the proceeds from the sale may be consumed for her care?