>>8623126At the end of that story, Jesus ends up helping the woman and heals her daughter.
To explain though, Jews called all gentiles dogs. Jesus was contrasting his idea of non-Jews with those of the Jews that he came to correct. You’re reading this passage too literally.