The quote at the beginning of a novel is called an epigraph.
An epigraph is a short quotation, poem, or saying placed at the beginning of a book, chapter, or section. It often serves to introduce the themes, ideas, or atmosphere of the work that follows.