What they don't tell you is that two of those ten years will be spent in a secret gulag for writing a wechat private message to your friend about how you dont like the great firewall of china. Thanks, but I'll pass.
I mean, I don't support the Firewall in the slightest, but I think the kind person who wants to send messages like that is exactly who they want to keep out by keeping brutal punishments for dissident behavior.
I've always felt if you go to a country you should respect it's laws, and if you feel you'll be unable to respect it's laws due to moral conflict you shouldn't go to the country.
And it's not like you should want to benefit from a country (or let a country benefit from you!) that has laws you're so opposed to that you'd be willing to risk severe punishment to comment on them...