AND YOU ARE REWARDED FOR YOUR POSITIVE OUTLOOK. When I need to pay for BW and I receive only $100s, I take it as a sign that soon I’ll get the $1000s that I need; and it always works. No kvetching that: “I didn’t get exactly as I asked for”. Every inch of goodness is a sign of even more goodness. It’s all up to the way a person thinks.
Dovid ignored the fact that his family sent him to dangerous places so he should get killed [by a lion or bear] since they suspected he was a Mamzer. He only saw good, and he was Zoche to more goodness as a reward of his positive outlook. And when Mordechai saw that Esther was forced to marry Achashveirosh HaRasha, he took this obvious evil as a sign that through this Klal Yisroel would have a Yeshua. He said the opposite of what a normal negative person would say [וְנַהֲפֹוךְ הּוא V'nahapoch Hu], and he was Zoche to bring the greatest Yom Tov [Purim] to Klal Yisroel. Always be positive no matter what, and Hashem will reward you.