No. You are confusing it with your 401k. Social security is a pay-as-you-go system with guaranteed benefits, an actuary's nightmare... The actuarily prudent system would tie benefits to a (moving average) of incoming contribution, forcing it to be close to be balanced.
As it stands now, the money paid into the system is not invested in a traditional sense. It is invested in infrastructure, in the education of the next generation etc. so when they grow up to work, they can make money and pay the benefits to the retired folks. Considering the state of education and else I would not be confident regarding a good return... The money is not spent on "investing in our future", but rather on wars without clear objectives, inefficient education and health system, bank (union) bailouts, wasteful government programs, farm and ethanol subsidizes, tax-cuts to big oil, other lobby groups, etc. (some of it depends on which aisle you are from). Good luck on collecting.