Rev 22:14 Blessed are those who do His commandments,[g] that they may have the right to the tree of life, and may enter through the gates into the city. 15 But[h] outside are dogs and sorcerers and sexually immoral and murderers and idolaters, and whoever loves and practices a lie.
So what do you suppose "dogs" are?
Dogs are lost people. They return to their own vomit. Jesus told the woman that the children( Jews) should get His “bread” before the dogs( the gentile woman) Her faith made her family.