This means that Yahweh helped Joseph and was always with him. Alternate translation: "Yahweh guided Joseph and helped him" (See: [[rc://en/ta/man/translate/figs-idiom]])
Here the author speaks of working in the master's house as if it were living in the master's house. Only the most trusted servants were permitted to work in their master's house. Alternate translation: "he worked in the house" (See: [[rc://en/ta/man/translate/figs-metaphor]])