So what?
GDP is a measurement of market value of goods and services. This hyperfocus on GDP is a societal disease, and all sorts of terrible policy derives from this hyperfocus.
There's a nice public park on my neighborhood. It's a very scenic place, with a river going through it, with trees along its course, there's also a playground for kids with a large lawn area where people do picnics and relax around. Very pleasant place.
That park generates 0 GDP. From a GDP standpoint, it would make more sense to remove the public park and turn it into a concrete hellscape for people to park their cars. Large cars preferably - huge SUVs or pickup trucks for that matter, no weakass economic cheap hybrids. GDP has to grow after all.
And if that came to pass, the lives of everyone here would be miserable. But GDP would be higher, so that wins.