is the system of funding local services fundamentally flawed?

consider the following 2 councils

Cardiff
population 360k
area 54 sq miles
budget £656m

Cambridge
population 148k
area 15 sq miles
budget £1041m