God was very good to Joseph and helped him to do everything the right way. Joseph was so good at what he did, he was allowed to live in Potifar's house.