The basics of economics are that housing prices is a function of amount of housing and number of people who want housing. NIMBYism is about keeping the amount of housing low, thus pushing prices up.
On a side note, how can you be mad at people who have a home, are raising their kids and don't want an apartment building smacked down next to them and their kid's schools flooded with hundreds of extra students?