Ezra 3:6-7 (ESV)
From the first day of the seventh month they began to offer burnt offerings to the LORD. But the foundation of the temple of the LORD was not yet laid. So they gave money to the masons and the carpenters, and food, drink, and oil to the Sidonians and the Tyrians to bring cedar trees from Lebanon to the sea, to Joppa, according to the grant that they had from Cyrus king of Persia.
When the nation of Israel was in captivity, Cyrus, the King of Persia, allowed them to return to the land. God put that in his heart:
Ezra 1:1 (ESV)
In the first year of Cyrus king of Persia, that the word of the LORD by the mouth of Jeremiah might be fulfilled, the LORD stirred up the spirit of Cyrus king of Persia, so that he made a proclamation throughout all his kingdom and also put it in writing:
God stirred his heart to do that. Notice who else God involved and moved in their heart:
1. The people who returned gave money to the masons and carpenters.
2. That meant that the masons and carpenters were also stirred in their hearts.
3. They gave food and drink to the Sidonians and the Tyrians who supplied the material goods for the temple rebuild.
4. God must have moved the hearts of those who owned the ships that brought cedar trees from Lebanon to the sea, to Joppa.
5. And finally, they were all able to do this based a grant, again, provided the Cyrus the king.
When God does a task He makes sure needs are provided. God made sure they had what they needed. God moved hearts. That is what God does when He assigns us a job. He always provides where He assigns.