David describes Yahweh's way of saving David from his enemies as a storm cloud gathering over a place. This emphasizes God's power and his anger. (See: [[rc://en/ta/man/jit/figs-metaphor]])
Here the darkness Yahweh creates is compared to a tent which hides him completely. Alternate translation: "He hid himself in the darkness" (See: [[rc://en/ta/man/jit/figs-metaphor]])