I Chronicles 26:27 Midrash

מִן־הַמִּלְחָמ֥וֹת וּמִן־הַשָּׁלָ֖ל הִקְדִּ֑ישׁוּ לְחַזֵּ֖ק לְבֵ֥ית יְהוָֽה׃

Out of the spoil won in battles did they dedicate to repair the house of the LORD.

Read midrashic interpretation of I Chronicles 26:27: and classical rabbinic exegesis.