For the millions of voters in these areas, access to basic amenities and government benefits played a crucial role in their electoral choices