Correction to: Nature Sustainability https://doi.org/10.1038/s41893-024-01422-7, published online 4 September 2024.

In the version of the article initially published, Xiong Zhang, Tien Ming Lee and Yang Liu were listed with the wrong affiliation, which has now been amended to the School of Ecology and State Key Lab of Biocontrol, Sun Yat-sen University, Shenzhen, China in the HTML and PDF versions of the article.