Every time I get rejected, I write it in a Google doc. I am playing a game with myself, and the goal is to maximise my rejections. This technique has single-handedly transformed my approach to rejection.
I love this. Moreover, this framing seems applicable across a whole spectrum of experiences, from job applications to social situations.