This quote is specifically about Diophantine equations.
You can find a similar statement as "Proposition 3.2.2" in Chapter 3 "Modular Arithmetic" [1] of this introductory course [2] to Number Theory. Here is a picture of the statement [3].
Basically, if there exists a number n such that there is no solution modulo n, then you know there are no solutions. Here is a simple application [4] of the proposition with n = 2 and 3.