The church originally belonged to the religious community of St. Catherine 's monastery in the Sinai ( now part of Egypt ) , and it acted as a center of learning .
The church was once a hub of scholarship .