But it's best to keep both in mind. These two things are more like a debate. In any case, they are worth keeping in mind and making continuous progress.
History refers to the development process of the objective world movement, which can be divided into natural history and human social history. For example, the history of the universe, the history of the earth, the history of mankind, the history of birds and so on. Corresponding to the concept of history, history also has broad sense and narrow sense. "History" in a broad sense can refer to all the events that happened in the past, not necessarily related to human society.
Generally speaking, history usually refers to the history of human society. History refers to what happened in the past, and history is an objective thing. Literature and history are inseparable. Literature participates in the construction and inheritance of history in its own way, which is not only applicable to the creation of historical themes, but also to all literary works and literary studies.