Quick answer
The trap is the transgression itself, not a penalty attached to it. Meanwhile someone else is singing.
Read both lines
The first line is precise about mechanism: בְּפֶשַׁע, in or by the transgression, is where the snare is, so nothing was set for him. He built it by doing the thing, which is the book's ordinary account of how consequence works and why it does not require a scorekeeper.
The contrast in the second line is unusually warm for this chapter. Not the righteous escapes, which is what the parallel would predict, but he sings and rejoices, two verbs of audible gladness. The comparison is therefore not between two outcomes but between a man tangled in his own equipment and a man with nothing on his feet at all, and freedom is described as a noise.
Related: Proverbs 26:27 · Proverbs 5:22 · Proverbs 28:1 · Proverbs 11:8
New King James Version®, Copyright © 1982, Thomas Nelson. All rights reserved. Full copyright information. Scripture provided by API.Bible.
Go Deeper
If this verse has been used to put weight on you that it was never carrying, ask about it directly.