Thank you for the opportunity to help you with your question!
"The City Upon a Hill" was a sermon written by John Winthrop. The allusion is the reference to the Puritans' view of themselves as a "city upon a hill". The phrase is a reference to the prideful attitude of the Puritans.
Please let me know if you need any clarification. I'm always happy to answer your questions.