This is NOT saying the one whose walk is perfect‘, this verse in Proverbs 28 is saying whose walk is blameless.

We will never be able to walk perfectly.
However, if we confess, repent and are accountable to our sin, we WILL be blameless.
Then God will give us the tools to remain safe on our walk.
However, the one who does not confess, repent or is accountable to their sin, WILL be blamed and will fall into the pit.
What do you think that pit is?
But you don’t have to worry, do you?

You WILL confess, repent and make yourself accountable for your sins…all of them…right?