“City upon a Hill” was part of the sermon called “A Model of Christian Charity” was written in 1630s by John Winthrop. He know the first group of Puritan emigrants in New England would be watched by the world. JFK was a Christian and a New Englander. So he quoted Winthrop as we were not destined to be a shining example, only that we were destined to be an example, shining or not.