פְּעֻלַּ֣ת צַדִּ֣יק לְחַיִּ֑ים תְּבוּאַ֖ת רָשָׁ֣ע לְחַטָּֽאת׃
의인의 수고는 생명에 이르고 악인의 소득은 죄에 이르느니라
Rashi
The act of the righteous is for life [This is to be understood] according to its apparent meaning, but the Midrash Aggadah states: Solomon performed the construction of the Temple for the life of Israel, for their atonement.
Rashi
what the wicked bring in What Manasseh brought in, for he brought in the image—that was for sin.