#What question did Yahweh ask David about any of Israel's leaders up until that time?

Yahweh asked David if Yahweh had ever said, "Why have you not built me a house of cedar?" to any of Israel's leaders whom Yahweh had appointed. [7:7]