The more something upsets you, the more it is meant for you. When it no longer upsets you, it is no longer needed because the lesson is complete.
or simply: