If I have walked with vanity Conversed in the world, or dealt with men, with lying, falsehood, or hypocrisy, as the word vanity is often used; or if my foot hath hasted to deceit If, when I had an opportunity of enriching myself by wronging others, I have readily and greedily complied with it. Let me be weighed, &c. I desire nothing more than to have my heart and life weighed in just balances, and searched out by the all-seeing God. That God may know Or, and he will know (upon search he will find out: which is spoken of God after the manner of men) mine integrity So this is an appeal to God to be witness of his sincerity.
Related Commentaries of Job 31:5
Job 31:5-6
5 If I have walked with vanity, or if my foot hath hasted to deceit;
6 Let me be weighed in an even balance, that God may know mine integrity.