David said he had found courage to pray to Yahweh of hosts because Yahweh of hosts had revealed to David that he would build David a house.