Saint Helena provided funds from the imperial treasury for the maintenance of the chapel. The funding continued for three centuries of Byzantine rule in Phoenicia until Khalid ibn al-Walid defeated Emperor Heraclius at the Battle of the Yarmuk. While the caliphate, Omar, who became ruler of Jerusalem, was a pious and humble man, sparing Christendom's holiest shrines and being tolerant of his Christian subjects, the Arab rulers of the rest of Byzantium were less tolerant of the Christians, especially in the maritime cities of Tyre, Sidon, Beirut, Byblos, and Tripoli. After the majority of the Sidonians converted to Islam to receive promised privileges and immunities, the people of Magdhdouché withdrew to higher elevation up Mount Lebanon. The caliphate had recognised the Christians of Mount Lebanon as autonomous communities, paying a fixed tax. Before abandoning their village, they concealed the entrance to the cave of Our Lady of Awaiting with stones, earth and vines. The people left the village through obscure mountain paths to the strongholds of Christian Lebanon. The legend of Our Lady of Awaiting was passed down to the exiled generations of Magdhdouché for one thousand years.