And when they entered from where their father had ordered them, it did not avail them against Allāh at all except [it was] a need [i.e., concern] within the soul of Jacob, which he satisfied. And indeed, he was a possessor of knowledge because of what We had taught him, but most of the people do not know.
So they journeyed with Joseph’s full brother. When they entered through different gates, as their father had instructed them, it did not stop what Allah had decreed for them in any way. It was just Jacob’s concern for his sons which he showed, advising them, knowing that the decree is Allah’s alone. He knew what Allah had taught him in terms of faith in the divine decree and taking precautions, but most people do not know this.