"A hundred years and seventy years and five years." And he resembled one who was seventy years old. And why did the Holy One reduce five years from him? Corresponding to the five transgressions that Esau committed: he stole, and he came upon a betrothed maiden, and he killed a person, and he denied the fundamental principle, and he despised the birthright. The Holy One, blessed be He, said: I said to him, "You shall be buried at a good old age" — therefore He reduced from him the years of his life, so that he should not see his wickedness.
Why Abraham Lost Five Years So He Would Not See Esau's Wickedness
Midrash Aggadah, Genesis 25:7
מאת שנה ושבעים שנה וחמש שנה. והיה דומה לבן ע', ולמה גרע לו ה' שנים, כנגד חמשה עבירות שעשה עשו, גנב ובא על נערה המאורשה, והרג את הנפש, וכפר בעיקר, וביזה את הבכורה, אמר הקב"ה אני אמרתי לו תקבר בשיבה טובה, לכך גרע לו שני חייו, כדי שלא יראה רשעו: