Not always. Some are well funded. Others the rich kids from the nice neighborhood go to private schools, so the rich parents don't care about public school funding. Often poor parents don't care about school other than a cheap daycare and so they don't fund the public schools well either.
Note that school funding and outcome is not well correlated.