This is the whole basis for the business model behind golf course development. Developers acquire a large plot of land in a nice area and build a golf course on part of it. The rest of the land (surrounding the golf course) is divided up into plots and used to build luxury housing. The existence of the golf course (and all of the landscaping in the area in general) dramatically increases the desirability (and hence property value) of the houses.
If you didn't build the golf course at all you could fit more houses on the land overall. The problem with that is that without the golf course the houses are less desirable and worth less -- and also more capital intensive to build than a golf course -- so the overall profit is lower.