At Mass in Madrid’s Plaza de Cibeles, the pope called Spain’s centuries-old Eucharistic devotion “a school of faith” for the present and future.