‘Appoint a wicked man against him.
Let an accuser stand on his right.
When he is tried,
Let him be found guilty.
Let his prayer be counted as sin!’”
They wanted to put David on trial. They wanted a wicked man to stand up against him. When he would be tried, he was expected to be found guilty. Even his prayer would be counted as a sin for him. This would seem to indicate that his foes were fellow Israelites who were wicked.