אָז֩ יִבְנֶ֨ה שְׁלֹמֹ֜ה בָּמָ֗ה לִכְמוֹשׁ֙ שִׁקֻּ֣ץ מוֹאָ֔ב בָּהָ֕ר אֲשֶׁ֖ר עַל־פְּנֵ֣י יְרוּשָׁלִָ֑ם וּלְמֹ֕לֶךְ שִׁקֻּ֖ץ בְּנֵ֥י עַמּֽוֹן׃
那時,所羅門在耶路撒冷對面的山上,為摩押可憎之物基抹和亞捫人可憎之物摩洛建了一座邱壇。
Rashi
Then Shlomo built a Bomoh [altar]. Our Rabbis said, that because he did not protest against his wives, it is called by his name.3Maseches Shabbos 56b. A Jew is responsible for the behavior of those subject to his influence. The Torah demands, “you shall reprove your fellow and do not bear a sin on his account” [Vayikra 19:17], implying that if you fail to reprove him, you will bear his sin.—Ralbag