no, the 'number of people' had nothing to do with it. and it's not just ancestors, indigenous and anarchist societies exist today. and they didn't just walk, cities pre-date every known civilization.
you've been fed a false and racist history and need to re-educate yourself.