We actually had this, I used to live in a small town notorious for being low socioeconomic and rough and you'd hear stories that would make your hair curl about the kids.
Turns out she did really well at the 'bad' school - the kids may have come from odd backgrounds where dad would spend money on drugs instead of food for the kids, but the teachers knew what they were up against and they were incredible. They had teenagers who could barely read there and they put mammoth effort into these kids, really turned some of their lives around. My offspring reacted to being in an enviroment where all the kids swore like troopers by choosing to be the Swear Police and would come home each day with a tally of how many times each kid said the F word, S word etc, which I suppose is better than learning to swear herself Because the school was pegged as seriously disadvantaged, the school got money thrown at it for excursions, special visitors, extra help etc etc so it seemed that every other week they were travelling for some interesting event, often at no cost or very low cost. The enrolment eventually dropped too low and this school is now closed.
So you never know, at least in the early grades you might be just fine. But in a few years, probably not so much. Save your pennies to move at least by mid primary school.
Bookmarks