They wrote the First Amendment with full knowledge of this threat.
They wrote the First Amendment because they also knew that one of the surest checks against government corruption was the unfettered ability to criticize those in government.