#What did David say was the reason Yahweh had done this great thing and had revealed it to him?

David said Yahweh had done this for the sake of Yahweh's word and to fulfill Yahweh's own purpose. [7:21]