Why is my Social Security taxed?

I worked all my life and never got a tax deduction for Social Security. So now that I am retired, why do I have to pay tax on my Social Security? The government owes it to me and shouldn't be taxing it!