"And Jacob lived." Why is this parasha closed? Because Jacob our father sought to reveal the End to his sons, and it was closed off from him; therefore this parasha is closed. Another interpretation: why is it closed? Because all his troubles were closed off. "Seventeen years." And why were thirty-three years subtracted from the years of Jacob? Because he spoke against Heaven. For we hold that just as a man blesses over the good, so should he bless over the reverse, and he did not do so. For at the time when Pharaoh asked him, "How many are the days of the years of your life?" and Jacob said to Pharaoh, "Few and evil" (Genesis 47:8-9) — and the count of the words is thirty-three words. Another interpretation: "Seventeen years." Jacob sustained Joseph for seventeen years; likewise Joseph sustained him seventeen years.
Why Jacob Lost Thirty-Three Years and the Sealed Parasha
Midrash Aggadah, Genesis 47:28
ויחי יעקב. למה נסתמה פרשה זו, לפי שביקש יעקב אבינו לגלות את הקץ לבניו ונסתם ממנו, לכך נסתמה פרשה זו: ד"א למה נסתמה מפני שנסתמו כל צרותיו: שבע עשרה שנה. ולמה נחסרו משנותיו של יעקב ל"ג שנים, על שדבר כלפי מעלה, דקיימא לן כשם שמברך אדם על הטובה כך יברך על החילוף, והוא לא עשה כך, לפי שבשעה ששאלו פרעה כמה ימי שני חייך ויאמר יעקב אל פרעה מעט ורעים (בראשית מז ח ט), ומנין התיבות הם שלשה ושלשים תיבות: ד"א שבע עשרה שנה פרנס יעקב את יוסף, כמו כן יוסף פרנסו י"ז שנה: