Development of wealth in cities