David is surely praying these things for himself about his enemies, but, no doubt that the audience in Jerusalem that would be singing these would identify with similar outside pressures as well. The heathen are identified here in the role of the dog. The danger would be identifying the dog without identifying with the essential limitations and desperation of the upright and the defence and strength of God and His mercy. Otherwise it is just bigotry hatred and prejudice.
2012 - pBiblx2 Field Wise Bible System Version 2.0.9d - GPL3