JFK was trying to defuse anti Catholic prejudice - within his own party. Plus the Kennedys were a totally immoral family. Still are.
The question still remains — is it at all possible for a religious (EMPHASIS) President to NOT AT ALL be influenced by the moral teachings of his religion?