1 verses of the Young's Literal Translation have both "vanity" and "walked".
Job 31:5 If I have walked with vanity, And my foot doth hasten to deceit,
In other translations: KJV WEB ASV Darby Webster DRC