sure, the person only doing strength training will have better endurance than a person doing nothing at all. i also agree strength training is usually critically neglected compared to cardio (which is slowly changing tho).
it's the toxic "cardio kills your gains" broscience that's harmful, as it leads to people actively avoiding healthy cardio. i've seen strength athletes use the escalator instead of the stairs because they tried to avoid getting their heart rate up outside the squat rack. this is counterproductive to both health and athletic ability.