The main reason why the Supreme Court would allow the government to the limit this freedom is because sometimes speech can be dangerous to the public. An example of this would be that it's illegal to yell "bomb" on an airplane.
At the time that The Declaration of Independence was Written, the phrase “all men are created equal” refers to white men. At the time, black men and women did not have rights.