Borrowed from French esprit (“spirit”). Doublet of spirit, spiritus, spirytus, sprite, and spright, possibly also spree.
Practice speaking and memorizing "esprit" and many other words and sentences in English.