It is perfectly possible for both of the following to be true: (1) The community gets what it deserves. (2) Some of the people giving it what it deserves are behaving shamefully.
(At least, it is if "gets what it deserves" means "gets something it's got no right to anything better than" rather than "gets exactly what, in some kind of best possible world, it would get".)
Having said which, I don't think it's all that shameful to write what you think will get the most votes. But I'd rather you didn't.