You're talking about society at the micro-level though, not the national level. Some of them were immigrants from outside but a large proportion were moving from other communities in the nation and their ability to do that while retaining their previous prosperity was insured by the society they were investing in through their tax code.
I actually think insurance can be quite a good model of the tax system. I'm insuring my assets against a total societal breakdown and confistcation, a la the Bolshevik revolution. I pay more than some because I have a higher asset base to lose but less than others who have more than I.
Whenever humans congregate in sufficient numbers a society is formed. This has been going on for at least the last 10,000 years. This has nothing to do with wealth as far as I know. At least, not in the sense that the term is colloquially used.
I do agree that it's not analogus, because it's not zero-sum, and it's not decided by chance to the same degree. If anything making the scenario more unfair.