This is incorrect; there are several phones that are water resistant and thin, despite having a headphone jack.
The primary motivation was to help sell AirPods (which customers then have to discard and buy new ones every year, because of the battery degradation.)