You're technically correct. It's a formula, it's never 'wrong'. The issue is the mapping of the formula to health outcomes and categories and the limitations of it as a tool.
BMI is a screening tool with high sensitivity and low specificity. It is useful for selecting patients for further, more specific tests, such as waist measurement.
But when talking about how the average BMI of all Americans has gone up, it’s mostly fine.