I read in a book that $-8 \equiv 6 \bmod 7$ which means that $-8$ and $6$ leave the same remainder when divided by $7.$
The remainder when $-8$ is divided by $7$ is $-1.$ But when $6$ is divided by $7,$ isn't the remainder $6$?
I recognise that we can write $7\cdot1 - 1=6$, so from here it seems that the remainder is $-1.$ Why is the above reasoning (remainder${}= 6$) incorrect?