Sometimes not getting something is a victory, when the conditions for getting it would outweigh the gain. If someone offers you a poison apple and you decline, you shouldn’t lament “oh no, I didn’t get the apple.” You should celebrate: “I didn’t get poisoned!”
The thing to remember in these moments is that there was never an apple in the first place. There was just a conveyor of poison, a Trojan horse to sneak bad things into your life. There’s no equation where you can say, “I’ll be okay with a little bit of poison if I get a delicious apple,” because you won’t even get the apple. You’ll take one bite, and be sick and dying before you’re finished.
Remember that when you summon up the courage to turn down a job offer, or a promotion, or any other opportunity that is dripping with ichor. The “opportunity” was never really there, if it came with so much poison you’d perish before you realized the gains. Instead, celebrate being savvy enough to avoid pitfalls, and look for the apples that aren’t poisoned. I promise you, there are plenty.