Psalms 17:4

2 May my vindication come from Your presence; may Your eyes see what is right.

3 You have tried my heart; You have visited me in the night. You have tested me and found no evil; I have resolved not to sin with my mouth.

As for the deeds of men— by the word of Your lips I have avoided the ways of the violent.

5 My steps have held to Your paths; my feet have not slipped.

6 I call on You, O God, for You will answer me. Incline Your ear to me; hear my words.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
As for the deeds of men— by the word of Your lips I have avoided the ways of the violent.
KJV
Concerning the works of men, by the word of thy lips I have kept me from the paths of the destroyer.
WEB
As for the deeds of men, by the word of your lips, I have kept myself from the ways of the violent.
ASV
As for the works of men, by the word of thy lips I have kept me from the ways of the violent.
DARBY
Concerning the works of men, by the word of thy lips I have kept from the paths of the violent [man].
BLB
As for the works of men, by the word of Your lips I have kept myself [from] the ways of a violent one.
ÅB
Hva angår menneskenes gjerninger, har jeg hørt på dine ord
og holdt meg fra voldsmannens stier.
OTB
Når det gjelder menneskenes gjerninger,
Ved ordet fra dine lepper har jeg holdt meg fra de voldeliges stier.
B1930
Mot menneskenes gjerninger har jeg efter dine lebers ord tatt mig i vare for voldsmannens stier.

Study notes (Tyndale)

Original text and word study

Cross references