Deliver me from mine enernies, O my God - A very proper prayer in the mouth of Nehemiah, when resisted in his attempts to rebuild the walls of Jerusalem by Sanballat, Tobiah, and Geshem, who opposed the work, and endeavored to take away the life of the person whom God had raised up to restore and rebuild Jerusalem. I conceive the Psalm to have been made on this occasion; and on this hypothesis alone I think it capable of consistent explanation.
Deliver me from mine enemies, O my God - See the notes at Psalm 18:48. This prayer was offered when the spies sent by Saul surrounded the house of David. They had come to apprehend him, and it is to be presumed that they had come in sufficient numbers, and with sufficient power, to effect their object. Their purpose was not to break in upon him in the night, but to watch their opportunity, when he went forth in the morning, to slay him 1 Samuel 19:11, and there seemed no way for him to escape. Of their coming, and of their design, Michal, the daughter of Saul, and the wife of David, seems to have been apprised - perhaps by someone of her father‘s family. She informed David of the arrangement, and assured him that unless he should escape in the night, he would be put to death in the morning. She, therefore, let him down through a window, and he escaped, 1 Samuel 19:12. It was in this way that he was in fact delivered; in this way that his prayer was answered. A faithful wife saved him.
Defend me from them that rise up against me - Margin, as in Hebrew, “Set me on high.” The idea is that of placing him, as it were, on a tower, or on an eminence which would be inaccessible. These were common places of refuge or defense. See the notes at Psalm 18:2.