Here "house" is probably a metonym for the ark of the covenant. David wanted to build a place for the ark, which represented God's presence, so people could go there to worship God. Alternate translation: "he might build a place where people could worship the God of Jacob" (See: [[rc://en/ta/man/jit/figs-metonymy]])