The whole exchange, for perspective:
Mat 19:3 And the Pharisees came to Him, trying Him, and saying, "Is it allowed one to dismiss his wife for every cause?
Mat 19:4 Now He, answering, said, "Did you not read that the Maker from the beginning makes them male and female,
Mat 19:5 and He said, 'On this account a man shall be leaving father and mother and shall be joined to his wife, and the two shall be one flesh'?
Mat 19:6 So that no longer are they two, but one flesh. What God, then, yokes together, let not man be separating."
Mat 19:7 They are saying to Him, "Why, then, does Moses direct to give a scroll of divorce and to dismiss her?
Mat 19:8 Jesus is saying to them, that "Moses, in view of your hardheartedness, permits you to dismiss your wives. Yet from the beginning it has not come to be thus."
Mat 19:9 Now I am saying to you that whoever should be dismissing his wife (not for prostitution) and should be marrying another, is committing adultery, and he who marries her who has been dismissed, is committing adultery."
Mat 19:10 The disciples are saying to Him, "If the cause of a man with a woman is thus, it is not expedient to marry."
Mat 19:11 Yet He said to them, "Not all are containing this saying, but those to whom it has been given."
Mat 19:12 For there are eunuchs who were born thus out of their mother's womb, and there are eunuchs who are emasculated by men, and there are eunuchs who emasculate themselves because of the kingdom of the heavens. The one able to contain it, let him contain it."
And, as much as we like to "cut" the scripture into doctrinal bullet points, then this happened.
Mat 19:13 Then little children were brought to Him, that He may be placing His hands on them and should be praying. Yet the disciples rebuke them."
Mat 19:14 Yet Jesus said to them, "Let the little children be coming to Me, and do not forbid them, for of such is the kingdom of the heavens."
Mat 19:15 And, placing His hands on them, He went thence."
And then this:
Mat 19:16 And lo! one coming to Him said, "Teacher, what good shall I be doing that I should be having life eonian?
Mat 19:17 Yet He said to him, "Why are you asking Me concerning good? One is good. Yet if you are wanting to be entering into life, keep the precepts."
Mat 19:18 He is saying to Him, "Which?Now Jesus said, "These: 'You shall not be murdering.' 'You shall not be committing adultery.' 'You shall not be stealing.' 'You shall not be testifying falsely.'"
Mat 19:19 Be honoring father and mother,' and 'You shall be loving your associate as yourself.'"
Mat 19:20 The youth is saying to Him, "These all I maintain. In what am I still deficient?
Mat 19:21 Jesus averred to him, "If you are wanting to be perfect, go, sell your possessions and be giving to the poor, and you will be having treasure in the heavens. And hither! Follow Me."
Mat 19:22 Now, hearing this word, the youth came away sorrowing, for he had many acquisitions."
Mat 19:23 Now Jesus said to His disciples, "Verily, I am saying to you that the rich squeamishly will be entering into the kingdom of the heavens."
Mat 19:24 Yet again, I am saying to you that it is easier for a camel to be entering through the eye of a needle than for a rich man to be entering into the kingdom of God."
Mat 19:25 Now, hearing it, the disciples were tremendously astonished, saying, "Who, consequently, can be saved?
Mat 19:26 Now, looking at them, Jesus said to them, "With men this is impossible, yet with God all is possible."
And then this, after all of that.
Mat 19:23 Now Jesus said to His disciples, "Verily, I am saying to you that the rich squeamishly will be entering into the kingdom of the heavens."
Mat 19:24 Yet again, I am saying to you that it is easier for a camel to be entering through the eye of a needle than for a rich man to be entering into the kingdom of God."
Mat 19:25 Now, hearing it, the disciples were tremendously astonished, saying, "Who, consequently, can be saved?
Mat 19:26 Now, looking at them, Jesus said to them, "With men this is impossible, yet with God all is possible."
Mat 19:27 Then, answering, Peter said to Him, "Lo! we leave all and follow Thee. What, consequently, will it be to us?
Mat 19:28 Yet Jesus said to them, "Verily, I am saying to you, that you who follow Me, in the renascence whenever the Son of Mankind should be seated on the throne of His glory, you also shall sit on twelve thrones, judging the twelve tribes of Israel."
Mat 19:29 And everyone who leaves houses, or brothers, or sisters, or father, or mother, or wife, or children, or fields, on account of My name, a hundred-fold shall be getting, and shall be enjoying the allotment of life eonian."
Mat 19:30 Yet many of the first shall be last, and the last first."
And He didn't stop there, either.