You are reading a tafsir for the group of verses 12:84 to 12:87

Jacob was heartbroken on losing his two very dear sons. But at the same time he pinned his hopes on the Grace of God. He was certain that Joseph’s dream predicted the future and that it would definitely come true. That is why he asked his sons to go and search for Joseph and also to try to have Benjamin released.