Rhoddodd Dafydd orchymyn i gasglu'r dieithriaid oedd yng ngwlad Israel, a phenododd seiri maen i baratoi cerrig i adeiladu tŷ Dduw.