this happened to me recently
initially, it stung. for a few brief hours, I had a great big offended flare up of wounded pride
but then I started reaping the benefits in the form of a clarifying dose of humility. Suddenly I was able to see and accept things about myself that I'd been avoiding accepting. And I could see that the assignment wasn't actually something I truly wanted; I just liked the idea of it, what it would have said about me to be asked, but in reality it would have been quickly toxic — and I can see that I dodged a bullet.
The whole thing has actually highlighted a different direction that I know in my heart I want to go...just needed this nudge.
Pain, sharpening, suffering: they can be so grounding and clarifying.