No you've missed the point, which is that "people" includes both women and men.
Men cannot be pregnant, which is obvious from the fact that male sexual development does not produce a female reproductive system.
The term "pregnant people" is not just unnecessarily obfuscating but also linguistically erases the group of people who can actually be pregnant - that is, women.