Psalm 124 celebrates deliverance. It is a song that knows oppression and attack from an enemy. But it reaches a joyful refrain when God delivers out of the teeth of the enemy. The trap that was set was horribly ineffective. God delivered in such a way that snares are broken and the escape was easy with Him.
A quick observation is that God still allowed the attacks and the traps. He did not take away the enemy, just the effectiveness of the attacks. God's people still felt the fear. God's people still had to trust in God. God's people still prayed.
This is one reason why I believe prayer is very important for me today. God does not take away opposition. He simply empowers us to withstand it and His truth will never be defeated even as it is attacked regularly. He will lead us out and we can escape by His grace. Even death is an escape from the snare! But we must pray precisely because the attack is real, even if nobody has ever succeeded in working against a sovereign God.