In the middle ages in Russia, there was a custom of a community gathering together to build an entire church in a single day in order to ward of plagues and epidemics.