1, if the husband's online loan is before you get married, then this loan only belongs to the husband's own debt, and it is selfish to use the mortgage of the house to help him pay off the account.
2. If the husband's online loan is after you get married, then this loan belongs to the debt of both of you. It is not selfish to help him pay his debts with the mortgage of his house.