Acts 7:9

9 And the patriarchs, moved with envy, sold Joseph into Egypt. But God was with him