The woman was a Greek, a Syrophoenician by birth, and she begged him to drive the demon out of her daughter. He said to her, "Let the children be fed first. For it is not right to take the food of the children and throw it to the dogs." She replied and said to him, "Lord, even the dogs under the table eat the children's scraps." Then he said to her, "For saying this, you may go. The demon has gone out of your daughter." When the woman went home, she found the child lying in bed and the demon gone. (Mk 7:24-30)
https://bible.usccb.org/bible/readings/021325.cfm
What sounds like Jesus being really nasty to a foreign woman gives rise to one of the most beautiful communion prayers ever, the Prayer of Humble Access which says: “We are not worthy so much as to gather up the crumbs under thy Table.”