Very much related, you know. The plague devastated the Byzantine Empire, and when the Arabs got a fancy new religion, they started expanding and the weakened Byzantines could not stop them effectively. Islam became large and self-sustaining because of this.
Urban civilization does poorly in a time of plague. Nomads living in the desert get off comparatively lightly.