And the Philistine said to David: Am I a dog? etc. Whether you understand the power of the Savior or the wood of the cross, it refers to the same meaning. For the most arrogant enemy denies that he is like a dog, that is, despicable in work and weakness. Moreover, he denies that the patience of the Savior and the power to overcome him would be comparable to all those who pass through the life of this world, pursuing with dire, insane, furious, and barking, and tearing with bites. Let us see what he thinks about the adversary that has come forth. For he says to the Father: Deliver my soul from ...the sword, my precious life from the power of the dog (Psalm 22). But elsewhere he has also marked the members of the same adversary to be compared to dogs, when he says: It is not right to take the children's bread and throw it to the dogs (Matthew 15). However, by ministering the children's bread to them, he converted many of the most shameless or rabid dogs into the most chaste and meek sheep.
Source: Commentary on Samuel