House of bondage/slavery
Here’s what it means
The phrase refers to Egypt as the place where Israel was enslaved.
Why the Bible says it this way
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.
A helpful detail: “House” describes a realm or condition of bondage, not one particular slave building.