Carving jack o' lanterns originated in Ireland. It was originally a way to ward off evil spirits, and the tradition has been passed down through generations. The tradition eventually spread to other parts of the world, including the United States.
The practice of carving a lantern or a jack-o’-lantern for Halloween originates from Ireland. The tradition is believed to have originated from an Irish myth about a man named Stingy Jack who outsmarted the devil several times.