As per https://www.epicurious.com/ingredients/what-is-in-canned-pum... the company responsible for 85% of the world's canned "pumpkin" doesn't actually use the type of squash you're likely envisioning (and links the FDA docs allowing a variety of squash to be labeled as such: https://www.fda.gov/regulatory-information/search-fda-guidan...), and the type of squash you're likely envisioning having a fairly mediocre flavour relative to the alternatives.
In a sense I think you're both completely right and completely wrong in different ways.
As per https://www.epicurious.com/ingredients/what-is-in-canned-pum... the company responsible for 85% of the world's canned "pumpkin" doesn't actually use the type of squash you're likely envisioning (and links the FDA docs allowing a variety of squash to be labeled as such: https://www.fda.gov/regulatory-information/search-fda-guidan...), and the type of squash you're likely envisioning having a fairly mediocre flavour relative to the alternatives.
In a sense I think you're both completely right and completely wrong in different ways.