The social security trust fund does buy government bonds.
Social security is not a savings account and is currently underfunded.