But she answered him, "Yes, Lord; yet even the dogs under the table eat the children's crumbs." And he said to her, "For this statement you may go your way; the demon has left your daughter." And she went home and found the child lying in bed and the demon gone.
Mark 7:28-30
Humility gains favor with God. Yeshua made a deliberately insulting statement to this woman, not because he thought she was unworthy of his help, but because he wanted to reveal her character.