We are being told that all sinners no matter what the sin are guilty of violating the law, that is all the law. We will be treated no different being a liar or a murderer. All sin carries the same punishment.
When God tells us that mercy triumphs over judgment, He is telling us that if judgment is given to us we will be condemned for
there can be no other judgment than that of a just judgment. For us the hope is in God's mercy, but
mercy has to come before the judgment. Before you can receive mercy you must admit that you have committed the crime, or violated the law being judged. To receive mercy you must not only admit that you violated the law but you must be repentant, meaning you must have a change in your heart and your life. Mercy does not come without first the showing of repentance.
The mercy that God gives us is that we will not have to face judgment for our sins, they will be covered as if they never happened. We will be seen as righteous in God's eyes.
You cannot be saved from judgment just because you showed mercy to someone else in this life. There is no Scripture that teaches salvation can be earned through man's mercy. Did not the mob show mercy to a criminal named Barabbas?
We are to forgive.
Then Peter came to Him and said, "Lord, how many times could my brother sin against me and I forgive him? As many as seven times?"
"I tell you, not as many as seven," Jesus said to him, "but 70 times seven.