But he himself knew their thoughts. After the opportunity of the miraculous work, there is added here the sublimity of the wondrous worker with respect to three things, namely with respect to the wisdom of discerning in the heart, the prudence of questioning in speech, and the efficacy of healing in deed. First therefore, through wisdom in the heart he apprehended their thoughts, which he notes when he says: But he himself knew their thoughts: and truly so, because the Lord is most wise; whence in the Psalm: "The Lord knows the thoughts of men, that they are vain." And therefore their thoughts... were open to the eyes of God; on account of which Isaiah 1 says: "Take away the evil of your thoughts from before my eyes"; whence also John 16: "The disciples said to him: Now we know that you know all things, and there is no need for anyone to question you." Nor is this surprising, because he is the one of whom Jeremiah 17 says: "I the Lord, searching hearts and reins, who give to each one according to his way."
As testimony of this, to show himself the knower of hearts, he commands this man who is to be healed to rise into the midst, when he adds: And he said to the man who had the withered hand; on whose account they were thinking proud thoughts, so that there could be said to them that word of Ecclesiasticus 37: "O most wicked presumption! Whence were you created, to cover the dry land with malice?" Rise and stand in the midst, that is, in a conspicuous place, so that all might know that their thoughts had been detected, according to that word of Ecclesiasticus 1: "Do not approach him with a double heart"; "lest God reveal your hidden things and cast you down in the midst of the synagogue"; because, according to what is said in Proverbs 26, "he who covers hatred fraudulently, his malice shall be manifested in the assembly." And rising up, he stood, not fearing the indignation of the Pharisees. For he was saying within himself that word of Job 17: "Deliver me, O Lord, and set me beside you, and let the hand of anyone fight against me"; and again that word of the Psalm: "If armies should stand against me, my heart shall not fear"; whence, strengthened by the Lord's command, he stood secure. Nor is this strange, because to him can rightly be said that word of Job 4: "Behold, you have taught many and have strengthened weary hands"; whence he could say that word of Daniel 10: "And when he spoke to me, I recovered strength and said: Speak, my Lord, for you have strengthened me."
Source: Commentary on Luke, Chapter 6