The government limiting what people say is usually beneficial for the state during times of war or when an outside source combined with an inside one can work together to harm the country. Also, governments limit speech when it is hate speech, that is, when it promotes inequality, racism, and similar, which is a good way the government limits what people say.