Efter at Josef var bragt til Egypten af ishmaelitterne, blev han som nævnt købt af Potifar, der var chef for egypterkongens livvagt.