Here "house" is a metonym that represents a tribe or descendants. And, here "tribe" refers specifically to the soldiers from those tribes. AT: "all the soldiers from the tribes of Judah and Benjamin" (See: [[rc://en/ta/man/translate/figs-metonymy]])
Here "house" represents the kingdom made up of the 10 northern tribes of Israel. AT: "the kingdom of Israel" or "the people of the northern tribes of Israel" (See: [[rc://en/ta/man/translate/figs-metonymy]])