So David gave orders to call together the foreigners living in Israel, and he assigned them the task of preparing finished stone for building the Temple of God.