Suppose we are considering printed books with $10$ digit ISBN
To each book, there is assigned, in a specific way, a $10$ digit number $x_1x_2\cdots x_{10}$, such as $$ 0-321-50031-8. $$ The numbers entered should satisfy condition $$ (10)x_1 + (9)x_2+\cdots + (1)x_1 \equiv 0\pmod{11}. $$ For above example, such sum becomes $99$, which is $0\pmod{11}$.
My question could be philosophical, but I did not understand the need of introducing this number; therefore posting here the problem, since I do not have any expert of this area in my institute.
Question: Suppose I have two copies of books - one is original, one is duplicate, and both have printed same ISBN. If I carry duplicate book with me, then at the time of checking ISBN, since the congruence relation is satisfied (since it was copy-paste from original book), so no one will feel that the book I carried is duplicate. Then, what is the aim of ISBN number assigning to a book?
(Sorry, the question could be irrelevant; but I am not understanding properly the need of ISBN; whether it assigns same number to thousand copies of the same book - including pirated copy?)
This is done to check if the numbers were entered/read correctly, see Wikipedia: