David gave orders to assemble the foreigners in the land of Israel, and assigned them to be masons to quarry stones to build the House of God.