https://en.wikipedia.org/wiki/Lump_of_labour_fallacy
More people = more economy = higher wages. Otherwise killing people and stopping other people from having children would increase your pay.
As for the middle class, most of the reason for the decline is people moving into the upper class.
https://www.pewresearch.org/race-and-ethnicity/2024/05/31/th...