The following is from a text about Congruences
Solve $4x\equiv 3 \pmod{19}$
The solution is $x\equiv 15\pmod{19}$
I understand till here.
Next the author writes
We can check our answer by substituting 15 into the original congruence. Is $4 ·15 \equiv 3 \pmod{19}$?
Yes, because $4 ·15 - 3 = 57 = 3 ·19$ is divisible by $19$.
I don't understand the substitution part. $x\equiv 15\pmod{19}$ and not $x = 15$. So why can $x=15$ be substituted in the original congruence to check the answer (I understand that it checks out fine).