Earlier quoted context omitted.
Freedom of speech isn’t freedom from consequences, as is often said.
If there are consequences for your speech, then it's not free.
Your employer or society in general absolutely can via the consequences of what you say. If you are making your employer look bad then they can and should be able to get rid of you.
If society decides they don't like you because of what you say and choose not to associate with you or use your business than that also feels fair enough.