Correction to: Nature Mental Health https://doi.org/10.1038/s44220-024-00242-0, published online 22 April 2024.

In the version of the article initially published, in the Abstract, the number of participants was shown as 1,865 instead of 1,835. The error has been corrected in the HTML and PDF versions of the article.