John Kennedy actually said...
Americans are free to disagree with the law but not to disobey it.
Context
Special Message to the Congress on Civil Rights
02/27/1963
Special Message to the Congress on Civil Rights
02/27/1963