Commit your works to the Lord, etc. Indeed, we reveal our works to the Lord when we remember Him in all we do, knowing that nothing is hidden from Him, and we seek His help in all things. And when we do this devoutly, it happens that not only the same works, but even our inner thoughts proceed under His direction.
Source: Commentary on Proverbs