> The exception is that discrimination is still totally legal if the person just can't afford the home.
It's also important to remember how this applies to school districts. If you exclude the poor from your neighborhood, you also exclude them from your school district. (This explains part of the otherwise unexpected opposition to school vouchers by college-educated affluent Democrats and the support for them by rural Republicans in bad school districts, when the vouchers would allow students to escape bad school districts.)
> As Atari once told me, Do The Math: https://fred.stlouisfed.org/series/OEHRENWBSHNO
Interestingly the steep curve on the graph is caused in large part by misguided policies claimed to increase home ownership (which is not really possible without increasing the housing supply). You can clearly see the "give mortgages to everybody regardless of whether they can afford it" policies leading up to the housing crisis, followed by the housing crisis, followed by more than a decade of near-zero interest rates inflating housing costs.
It looks like we had completely reinflated the housing bubble by 2016 and have only gone up from there, so that's... not ideal.
Though artificial housing scarcity is still a separate and real problem that compounds with this.