And all the silver and gold whatsoever you find, etc. The story is clear, that for this reason the king and his counselors gave money to Ezra to be carried to the temple of the Lord, and they also desired others to give, so that sacrifices, and offerings, and libations might be bought from this money, which would be offered upon the altar of God: and if any money remained, it would be distributed not otherwise than according to the will of God. And it should also be noted here, when he mentions the priests offering in the house of their God, he clearly teaches that even if some of the priests ...and Levites had ascended to Jerusalem with Ezra, nevertheless some still remained in Babylon with the rest of their people. The allegorical sense is also clear, because the faithful desire their good works to shine in the holy Church for this reason, so that through these they may also merit to have a part with the saints, and others may be edified by their examples. For just as our sacrifices, libations, and offerings of silver and gold are made to offer to the Lord, so too, by the shining example of our works, our neighbors are converted to the duty of piety, by which they too, living well, may be consecrated to the Lord. But if any silver and gold were left over, from which offerings could not be bought, this too was ordered to be arranged according to the will and pleasure of God. For there are certain magnificent virtues of the saints which cannot be shown to everyone as an example of work, but are only recited to glorify the grace of God; as is the case where Daniel and Jeremiah prophesied as children, that John was not yet born, that Cornelius with his household, not yet baptized, received the Holy Spirit, and numerous miracles of the saints shine like silver and gold in the house of the Lord; yet from the same silver or gold, offerings to be placed upon the altar cannot be bought; because when we hear of such things, we ought indeed to marvel at them as divine, but we are not able to imitate them as if they were possible. Sacrifices, however, were properly called those which were offered from the fruits of the earth, such as bread, fine flour, ears of corn; libations, however, were those which were made from wine and liquid things.
Source: Commentary on Ezra and Nehemiah