Often the claim against the Old Testament is it shows a God which is too violent and seems to condone violence. This Psalm reveals a little of where the responsibility truly lies. Whenever I read the Scriptures where humanity has a choice to make between obedience to God, or human wisdom, if the people choose human wisdom violence is the result. War and violence which the writer of the Psalm calls futile. All of it traces back to our human longing to live life on our own terms. When we live for ourselves alone there is bound to be conflict with another person who is living the same way. At some point my self interest and yours are going to clash, then what?
Another way to journey is to trust God and follow the path God has set before us. Not everyone has the same path, and not everyone is gifted in the same way, yet we all journey with the same leader, Jesus Christ. God is more than willing to direct our paths if we are willing to allow it. It should not be thought this will mean things will be easy and there will never be conflict. The difference is when we submit to the Lord, the conflict finds even ground more quickly as we together seek the Lord, not our own interest.
So as much as it depends on you, focus on God not one your own interest. Let God be the one who leads and you who follows. Invite the son of God to walk step by step with you through this life, that we may all join together at the Heavenly Banquet table celebrating the feast of the Lamb. There seems to be nothing violent about that.