2 He did what was pleasing to Hashem just as his father Uzziyahu had done, but he did not enter the Temple of Hashem; however, the people still acted corruptly.
va-YA-as ha-ya-SHAR b’-ay-NAY a-do-NAI k’-KHOL a-SHER a-SAH u-zi-YA-hu a-VEEV RAK lo VA el hay-KHAL a-do-NAI v’-OD ha-AM mash-khee-TEEM
ב וַיַּעַשׂ הַיָּשָׁר בְּעֵינֵי יְהֹוָה כְּכֹל אֲשֶׁר־עָשָׂה עֻזִּיָּהוּ אָבִיו רַק לֹא־בָא אֶל־הֵיכַל יְהֹוָה וְעוֹד הָעָם מַשְׁחִיתִים׃
27:2 The people still acted corruptly
While Yotam is remembered as a good and righteous king, he fails to influence the people in a significant way. In fact, the people continue their rebellions against Hashem and His worship. As is clear throughout Tanakh, a king is in a unique position to have significant impact on his subjects. Chizkiyahu, for example, is able to create positive change, bringing the nation to a spiritual state that they had not reached since the days of Shlomo. Menashe, on the other hand, leads the people to a spiritual low point. Therefore, though Yotam is considered a good king, he is remembered as a king who failed in his mission to cause the people to repent. Doing what is right is not enough; we must influence and inspire others to do so as well.