I had this same question when I first learned about social security and saw a non-trivial amount of my paycheck funding the program. So I wrote this comparison (it is about 10 years old but still accurate): https://www.diffen.com/difference/Ponzi_Scheme_vs_Social_Sec...