What is the meaning of Matthew 19:26?

But Jesus beheld [them], and said unto them, With men this is impossible; but with God all things are possible. (Matthew 19:26 KJV)

And Jesus looking upon [them] said to them, With men this is impossible; but with God all things are possible. (Matthew 19:26 ASV)

But Jesus, looking on [them], said to them, With men this is impossible; but with God all things are possible. (Matthew 19:26 DBY)

And Jesus having earnestly beheld, said to them, `With men this is impossible, but with God all things are possible.'(Matthew 19:26 YLT)

Looking at them, Jesus said, “With men this is impossible, but with God all things are possible.” (Mt 19:26 WEB)

Interlinear

But <de> Jesus <Iesous> beheld <emblepo> them, and said <epo> unto them, <autos> With <para> men <anthropos> this <touto> is <esti> impossible; <adunatos> but <de> with <para> God <theos> all things <pas> are <esti> possible. <dunatos> (Matthew 19:26 KJV)

Matthew Poole’s Commentary

Ver. 25,26. Mark saith, They were astonished out of measure, saying among themselves, &c. All three evangelists agree in the same substance of the other words. But why are the disciples amazed? or why do they say, Who then can be saved? Are there not in all places more poor than rich persons? The disciples might reasonably conclude, that poor persons were by their poverty also exposed to many great and dangerous temptations; that even they, though they had not riches, yet might too much place felicity in them, and covet what they had not; and from hence collect a difficulty for any to get to heaven. Our Saviour saith unto them, With men this is impossible; but with God all things are possible. If men indeed were left all to themselves, none would be saved; the blackamoor cannot change his skin, nor the leopard his spots; but God can bring men to heaven by the mighty power of his grace: he can change a rich man’s heart, and take it off from too much love of riches, and make him to despise and contemn his wealth, and to put his trust in the living God; or a poor man’s heart, and make him also poor in spirit and rich in grace.

Spurgeon’s Commentary on Matthew

Jesus beheld them. He looked on them with pity and with love, and told them that God could do that which, apart from him, would never come to pass. To enter the kingdom is impossible to man unaided: one sin or another blocks the way. The cares of this world and the deceitfulness of riches are a sadly effective barrier to the soul when it attempts to enter the city of holiness; but God can cause those barriers to yield, and enable the soul to enter by the narrow way. He is mighty to save. With God all things, are possible. What a joyful truth for the writer and the reader! Our salvation, when we view our own weakness and the power of sin, is impossible with men. Only when we turn to God and his grace, does salvation range among the possibilities. The rich man is set by our Lord, not at the head, but at the foot of the line of aspirants for the kingdom. Lord, my hope of being found in thy kingdom lies in thy power, and grace, and not in my possessions!