The abstract nouns "unrighteousness" and "injustice" have similar meanings, are repeated for emphasis, and can be stated as actions. Alternate translation: "unjustly forced men to build his house and his upper rooms" (See: [[rc://en/ta/man/translate/figs-doublet]] and [[rc://en/ta/man/translate/figs-abstractnouns]])
The word "house" is a metonym for the family that lives in the house. In this case it refers to Jehoahaz (verse 11) and his family. (See: [[rc://en/ta/man/translate/figs-metonymy]])