In light of automation, if the number of people decrease, the quality of life should maintain or increase per person (to the extent that QOL can be based on renewables), which should reach a natural equilibrium on the birth rate.
I'd hypothesize the biggest actual non-MAD danger to our species is too late a response to biodiversity, leading to "unpreventable" ecosystem collapse.