Medieval people counted on the church to provide social services, spiritual guidance and protection from hardships such as famines or plagues. Most people were fully convinced of the validity of the church's teachings and believed that only the faithful would avoid hell and gain eternal salvation in heaven.