Shemot27:1

וְעָשִׂיתָ אֶת־הַמִּזְבֵּחַ עֲצֵי שִׁטִּים חָמֵשׁ אַמּוֹת אֹרֶךְ וְחָמֵשׁ אַמּוֹת רֹחַב רָבוּעַ יִהְיֶה הַמִּזְבֵּחַ וְשָׁלֹשׁ אַמּוֹת קֹמָתוֹ׃

And you shall make the altar of acacia wood: five cubits long and five cubits wide, the altar shall be square, and three cubits its height.

Shemot 27:1

וְעָשִׂיתָ אֶת־הַמִּזְבֵּחַ עֲצֵי

Shemot / Exodus 27:1 · Remez

Shemot 27:1

וְעָשִׂיתָ אֶת־הַמִּזְבֵּחַ עֲצֵי שִׁטִּים חָמֵשׁ אַמּוֹת אֹרֶךְ וְחָמֵשׁ אַמּוֹת רֹחַב רָבוּעַ יִהְיֶה הַמִּזְבֵּחַ וְשָׁלֹשׁ אַמּוֹת קֹמָתוֹ׃

And you shall make the altar of acacia wood: five cubits long and five cubits wide, the altar shall be square, and three cubits its height.

Remez רֶמֶז

Acacia and folly

You did something foolish and want to fix it. The best fix uses the very thing you got wrong. The commentators hear the mistake itself in the name of the altar wood.

Rabbeinu Bahya brings a midrash: the copper altar atones for a "copper forehead", brazenness. The letters of "altar" (מִזְבֵּחַ) are the first letters of "forgiveness, merit, blessing, life", and the letters of "acacia" (שִׁטִּים) of "peace, goodness, salvation, forgiveness". Five by five cubits are the two tablets with five sayings each, three cubits of height are three redeemers: Moshe (Moses), Aharon (Aaron) and Miriam. Kli Yakar: "acacia" (שִׁטִּים) sounds like "folly" (שְׁטוּת). They acted in folly with the calf, let acacia atone for their folly.

How Rabbeinu Bahya and Kli Yakar explain it

Rabbeinu Bahya And you shall make the altar of acacia wood

In the midrash: what does the copper altar atone for? For a copper forehead, as it says: "Your neck is an iron sinew and your forehead copper" (Yeshayahu / Isaiah 48:4). "Altar" (מִזְבֵּחַ): mem is forgiveness (מְחִילָה), zayin is merit (זְכוּת), bet is blessing (בְּרָכָה), chet is life (חַיִּים). And likewise "acacia" (שִׁטִּים): shin is peace (שָׁלוֹם), tet is goodness (טוֹבָה), yod is salvation (יְשׁוּעָה), mem is forgiveness (מְחִילָה). Five cubits long and five cubits wide stand for the two tablets of the covenant: five sayings on one side and five sayings on the other. And three cubits its height stand for three redeemers: Moshe, Aharon and Miriam.

Kli Yakar And you shall make the altar of acacia wood

In the Tanchuma they conclude: they acted in folly and angered Me with the calf, let acacia wood come and atone for their folly. For a spirit of folly enters every sinner (Sotah 3a). That is why Shlomo (Solomon) calls the wicked fools. And that is why it says of the altar: "Hollow with boards you shall make it" (Shemot / Exodus 27:8). For whoever is without knowledge and understanding is called a hollow man, as it says: "A hollow man will gain a heart" (Iyov / Job 11:12). Rashi explained there: whoever is hollow and empty inside, without knowledge and understanding, must take a heart for himself and return to Him.

And three cubits its height.
Like the height of an average man. And five cubits long and five cubits wide make ten together, for the ten parts that come from father and mother: flesh, blood, sinews and the rest, as listed in tractate Niddah (Niddah 31a). Through them comes every sin and every guilt. And this is the half shekel, ten gerahs.

And you shall make its horns.
To atone for the sinner, who is compared to a ram with horns butting upward, as it says: "To the wicked: do not lift up the horn, do not lift your horn on high" (Tehillim / Psalms 75:5–6).

And you shall overlay it with copper.
Rashi explained: to atone for a brazen forehead, as it says: "And your forehead copper" (Yeshayahu / Isaiah 48:4). This agrees with our words, since every horn grows on the forehead.

Takeaway

Wordplay: "acacia" (שִׁטִּים) and "folly" (שְׁטוּת) are written with almost the same letters. From this the midrash learns that acacia wood atones for the folly of the calf (Midrash Tanchuma, Terumah 10).
Wordplay: "altar" (מִזְבֵּחַ) is read as the first letters of four words: מְחִילָה, זְכוּת, בְּרָכָה, חַיִּים (forgiveness, merit, blessing, life).
Wordplay: "hollow" (נָבוּב) in Job and "hollow" (נְבוּב) of the altar are one word.
The half shekel everyone gave is ten gerahs (Shemot / Exodus 30:13). A gerah is a small coin.