Yosef and the Sale
According to the Ari (Rav Yitzchok Luria), Yosef himself caused his brothers to sell him, and everything that happened to him as a result. By publicizing his dreams of rulership and speaking lashon hara about his brothers, Yosef brought all of his misfortune upon himself.
Source: Sha’ar HaGilgulim, Hakdamah 31