Now the attention of the whole world is focused on the developing pandemic of the coronavirus infection COVID-19. This article discusses mortality patterns of the deadliest epidemic in the last 120 years - the Spanish flu pandemic of 1918. Statistical sources from Italy and the USA, published shortly after the pandemic, were analyzed. The analysis was carried out for mortality from all causes, since in this case inaccuracies associated with establishing the causes of death are minimized. Despite the fact that the first cases of the Spanish flu appeared in the United States as early as March 1918, this first wave of epidemic practically did not affect the total mortality rate. The main peak of mortality in 1918 occurred in October 1918 both in the USA and Italy, with a gradual decrease in mortality over several months. Analysis of age-specific mortality demonstrates a significant increase in mortality at middle ages (20-50 years) in 1918 compared with 1917. Analysis of mortality trends using the method of latent variables shows a significant increase in the background mortality factor in 1918, which turned out to be higher for Italy than the mortality losses during the Second World War. The Spanish flu pandemic differs from the current coronavirus pandemic, because of significant increase in mortality of middle-aged people, while the COVID-19 pandemic causes a more marked increase in mortality among the elderly. With this, the COVID-19 pandemic is more like the recent flu epidemics than the earlier Spanish flu pandemic.