17 (Number)
The number seventeen is the gematria of "tov" (good), and therefore Yaakov Avinu lived in Egypt for 17 years, for these years were the best of his life, in which he dwelt in tranquility and saw that Yosef was standing firm in his righteousness. And all this was by the power of the Torah, as he "sent Yehudah before him to instruct the way to Goshen," that is, to establish a yeshivah.

Good edit
Good is the opposite of evil. It is brought in the holy Zohar that the reason the Holy One, blessed be He, created the world is because it is the nature of the good to do good, and therefore He created the created beings so that He could do good to them.
In Pnimiyus HaTorah edit
The number 17 is the gematria of the Name א-ה-ו-ה[1], and it is the gematria of tov (good)[2], and it corresponds to the power of Daas[3].