Correction to: Nature https://doi.org/10.1038/s41586-023-05783-5 Published online 12 April 2023

In the version of the article initially published, the symbols for death (x) and censored (>) were swapped in the graphs in Fig. 1. The figure has now been corrected in the HTML and PDF versions of the article.