"they love to wander away from me." This speaks of people being unfaithful to Yahweh and not obey him as if they had wandered from the place where he is. (See: [[rc://en/ta/man/translate/figs-metaphor]])
Here the people are referred to by their "feet" to emphasize their walking away from Yahweh. AT: "have not kept themselves" (See: [[rc://en/ta/man/translate/figs-synecdoche]])
Here war is represented by the "sword" which was the common weapon used in battle. AT: "by war" or "by battle" (See: [[rc://en/ta/man/translate/figs-metonymy]])