Satan stood up against Israel, and moved David to number Israel.
"It may also be said that having empowered Israel to defeat their human foes, God provided a place of atonement and divine manifestation whereby they could defeat (or hold at bay) their nonhuman enemy, Satan." [Note: Thompson, p. 160.] 