26 And he said unto him, What is written in the law? how readest thou?
27 And he answering said, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy strength, and with all thy mind; and thy neighbor as thyself.
28 And he said unto him, Thou hast answered right: this do, and thou shalt live.
29 But he, desiring to justify himself, said unto Jesus, And who is my neighbor?
30 Jesus made answer and said, A certain man was going down from Jerusalem to Jericho; and he fell among robbers, who both stripped him and beat him, and departed, leaving him half dead.
31 And by chance a certain priest was going down that way: and when he saw him, he passed by on the other side.
32 And in like manner a Levite also, when he came to the place, and saw him, passed by on the other side.
33 But a certain Samaritan, as he journeyed, came where he was: and when he saw him, he was moved with compassion,
34 and came to him, and bound up his wounds, pouring on them oil and wine; and he set him on his own beast, and brought him to an inn, and took care of him.
35 And on the morrow he took out two shillings, and gave them to the host, and said, Take care of him; and whatsoever thou spendest more, I, when I come back again, will repay thee.
36 Which of these three, thinkest thou, proved neighbor unto him that fell among the robbers?
37 And he said, He that showed mercy on him. And Jesus said unto him, Go, and do thou likewise.
Jesus continued on his way to the village of Martha and Mary (Bethany - probably on the south-east slope of the Mt. of Olives).
38 Now as they went on their way, he entered into a certain village: and a certain woman named Martha received him into her house.
39 And she had a sister called Mary, who also sat at the Lord's feet, and heard his word.
40 But Martha was cumbered about much serving; and she came up to him, and said, Lord, dost thou not care that my sister did leave me to serve alone? bid her therefore that she help me.
41 But the Lord answered and said unto her, Martha, Martha, thou art anxious and troubled about many things:
42 but one thing is needful: for Mary hath chosen the good part, which shall not be taken away from her.
This segment is similar to John 11 where two sisters named Martha and Mary were also described:
John 111 Now a man named Lazarus was sick. He was from Bethany, the village of Mary and her sister Martha.
2 This Mary, whose brother Lazarus now lay sick, was the same one who poured perfume on the Lord and wiped his feet with her hair.
3 So the sisters sent word to Jesus, "Lord, the one you love is sick."
4 When he heard this, Jesus said, "This sickness will not end in death. No, it is for God's glory so that God's Son may be glorified through it."
5 Jesus loved Martha and her sister and Lazarus.
6 Yet when he heard that Lazarus was sick, he stayed where he was two more days.
This was the Mary who later in the text anointed Jesus before the day of his trial and burial.