Are you learning English as a second language? The short answer is either can be correct and the key is to be consistent.
The tenses you are selecting between are indicative. This basically means you are telling/explaining (“indicating”) what happens/happened. In your review, you are negating an indicative tense, which might be adding to your confusion.
(I deliberately use a different verb in the following examples.)
1) “In the book, the boys ran.” – Past indicative tense. At some point in the past – in this case, the book’s narrative is seen as the past – the boys took action: they ran.
2) “In the book, the boys run.” – Present indicative tense. This implies the boys run as a habit or in general. Running is a key plot point. We are looking at the action of the book like it is happening now.
3) “In the book, the boys were running.” – Past progressive indicative tense. The boys were running continuously, but stopped. Sort of like a series that ends.*
4) “In the book, the boys are running.” – Present progressive indicative tense. This would imply the bulk of the book takes place as the boys run.*
Each of these is pretty easy to negate:
1) “In the book, the boys did not run.”
2) “In the book, the boys do not run.”
3) “In the book, the boys were not running.”
4) “In the book, the boys are not running.”
* Think of a TV series when thinking about past or present progressive. In English, you can say making a TV series is producing it. There is a popular series in the USA called The Simpsons. A TV studio is producing The Simpsons, and has progressively produced the show since 1989. In the 1980s, a popular TV series was Cheers. A TV studio was producing Cheers starting in 1982, but stopped in 1993.
Or, take the Harry Potter series. It was written by J.K. Rowling. She was writing Harry Potter from, say, 1998 to 2008. But in 2003, we could have said, “J.K. Rowling is writing Harry Potter. She will write Harry Potter until 2008.” I am making up years, as I don’t know much about Harry Potter.