This represents all the people living in the land of Judah. Alternate translation: "All the people in the land of Judah will mourn" (See: [[rc://en/ta/man/translate/figs-metonymy]])
Here "house" represents descendants. Alternate translation: "The descendants of David ... The descendants of Nathan" (See: [[rc://en/ta/man/translate/figs-metonymy]])