It is interesting how the Mitzri'im suffered terribly by the Makkos and the Torah always rubs it in how: רַק בְאֶרֶץ גשֶן אֲשֶר שָּם בְנֵי יִּשְ רָּאֵל לֹא הָּיָּה בָּרָּד ט כו only Eretz Goshen didn’t suffer since the Yidden were there; as if the Yidden had some merit. The only Makka where the Yidden actually had a merit was Makkas B'choros, since they had two Mitzvos; i.e., Mila and Pesach. What merit did they have during the first 9 Makkos? (They had plenty sins, since they were in: מ"ט שַעֲרֵי טוּמְאָּה 49 gates of Tum'ah). We can suggest that the fact that they had suffered so much at the hands of the Mitzri'im entitles them to a pain-free situation.
This is a Yesod all over. וְהָּאֱלקִּים יְבַקֵש אֶת נִּרְ דָּף קהלת ג טו Hashem sticks up for the victim. Even if the victim is a Rasha and the persecutor is a Tzaddik, yet Hashem is on the side of the victim. (Chazal). Being a Baal Yissurim is a tremendous asset, and it shouldn’t be underestimated. Very often, you see how the unfortunate and downtrodden come out ahead. I know a Ben Torah who was looked down upon during Yeshiva days, since everyone was a bigger Masmid than him. In the end, he became very rich, and he supported the Yeshiva, and everyone ran to him.