Americans are becoming increasingly segregated by class, and that's making it harder for many to get ahead, in President Obama's view.
One of the main reasons the American Dream is fading for so many is that the rich are increasingly living with and associating only with other wealthy people, the president said at a Georgetown University forum on poverty this week.
"What used to be racial segregation now mirrors itself in class segregation," Obama said. "There are some communities where not only do I not know poor people, I don't know even people who are having trouble paying the bills at the end of the month."
Such segregation has grown dramatically in recent decades as income inequality has increased. Only 42% of American families lived in middle-income neighborhoods in 2009, compared with 65% in 1970, according to a 2013 study by Cornell and Stanford university researchers. Meanwhile, more than one-third of families lived in either affluent or poor neighborhoods, double the proportion in 1970.
Related: Where poor kids stay poor
Years ago, Obama said, a banker in a town may have lived relatively close to the janitor at the school. The janitor's daughter might have dated the banker's son. They may have attended the same church or been active in the same parks. All that contributed to social mobility and a sense of opportunity for all children in that community.
Now, however, increased isolation has led the rich to care less about investing in the community, particularly in schools and other services that don't benefit their kids, said Obama. So government budgets get cut, and the path to the middle class is blocked.
"Those who are doing better and better -- more skilled, more educated, luckier, having greater advantages -- are withdrawing from the commons," Obama said. "Kids start going to private schools. Kids start working out at private clubs instead of the public parks."
Related: The American Dream is a myth, says Nobel-prize winner
The wealthy become more anti-government and want to spend less on "those common goods and those things that draw us together. That in part contributes to the fact that there is less opportunity for our kids, all of our kids," he said.
Obama said he thinks both Democrats and Republicans care about the poor. The question is how much of "our collective wealth" is the country willing to invest to give poor children the access they need to mentors, decent books and other things that will help them succeed. He supports more funding for early childhood education and public schools and universities.
"We don't make the same common investments that we used to and it's had an impact," the president said.