When prosperity means “throwing away tons of electronic crap people give each other for Christmas because they have been exposed to ads and social pressure to buy crap” or “flying planes in circle in the sky because people are nostalgic of traveling during lock-down”, then you can't have “prosperity” without harming nature.
If I enjoy watching people dig holes and refill it in my backyard, and pay people to do so, this is creating “economic value” because “it bring you pleasure, and you were ready to put a hundred dollar in it, that means it gave you $100 of pleasure” (that's literally how GDP works), it doesn't benefit medical care in any way. And it fact, if I'm paying $1000/h for hole digging, I'm actually harming medical care, because some people would become hole digger instead of nurse / doctors / researchers.
Consumption = creation of economic value = what pays for healthcare
And you cant get an MRI without exchanging something of value (whether paying or with your own money or through taxes).
Hence the creation of economic value on one hand feeds consumer desires and on the other hand creates value that can be spent on things like health care.
You cant have one without the other.
Good day.