Shemot / Exodus 18:1 · Drash
וַיִּשְׁמַע יִתְרוֹ כֹהֵן מִדְיָן חֹתֵן מֹשֶׁה אֵת כָּל־אֲשֶׁר עָשָׂה אֱלֹהִים לְמֹשֶׁה וּלְיִשְׂרָאֵל עַמּוֹ כִּי־הוֹצִיא יְהוָה אֶת־יִשְׂרָאֵל מִמִּצְרָיִם׃
And Yitro (Jethro), the priest of Midian, Moshe's father-in-law, heard of all that the Almighty had done for Moshe and for Israel His people: that the Eternal had brought Israel out of Egypt.
Drash דְּרָשׁ
He heard and gained
Two people hear the same words differently: they harm one and help the other. The midrash sets side by side those who heard and lost, and Yitro (Jethro), who heard and gained.
Midrash Tanchuma: there is one who heard and lost, and one who heard and was rewarded. King Yoash listened to bad advisers and was punished. The nations heard of the wonders and trembled. But Yitro, a priest of idols, heard, came to Moshe (Moses), entered under the wings of the Presence of the Creator and was worthy to add a section on judges to the Torah.
How Midrash Tanchuma explain it
Midrash Tanchuma "And Yitro heard"
There is one who heard and lost, and there is one who heard and was rewarded. Yoash (Joash) heard and lost, as it says: "Then the king listened to them" (Divrei HaYamim II / II Chronicles 24:17). Therefore: "And they executed judgment upon Yoash" (Divrei HaYamim II / II Chronicles 24:24). And so too: "The peoples heard, they trembled" (Shemot / Exodus 15:14).
But Yitro heard and was rewarded. He was a priest of idols, and he came, and clung to Moshe, and entered under the wings of the Presence of the Creator (שְׁכִינָה), and was worthy to add (לְיַתֵּר) for Israel the section on judges, because he said to Moshe: "The thing that you are doing is not good" (Shemot / Exodus 18:17).
Takeaway
Yoash, king of Yehudah, after the death of the kohen Yehoyada listened to the princes and began to serve idols (Divrei HaYamim II / II Chronicles 24:17–18). A year later the army of Aram came and defeated Yehudah (Divrei HaYamim II / II Chronicles 24:23–24).
"The peoples heard, they trembled" is from the Song at the Sea: the nations heard of the wonder, but were only frightened (Shemot / Exodus 15:14).
Wordplay: "to add" (לְיַתֵּר) and the name "Yitro" (יִתְרוֹ) share the root י־ת־ר. Rashi says the same: Yitro added a section to the Torah (Rashi on Shemot / Exodus 18:1).