Your confusion may arise from the following: In a robbery, someone takes something from you. With taxation, an organization takes something from you.
The difference is, in a robbery, you get nothing back. With taxation, you are getting something from the government, so you're actually just paying for that.