II Kings 5:18
לַדָּבָר הַזֶּה יִסְלַח ה’ לְעַבְדֶּךָ בְּבוֹא אֲדֹנִי בֵית רִמּוֹן לְהִשְׁתַּחֲוֹת שָׁמָּה וְהוּא נִשְׁעָן עַל יָדִי וְהִשְׁתַּחֲוֵיתִי בֵּית רִמֹּן בְּהִשְׁתַּחֲוָיָתִי בֵּית רִמֹּן יִסְלַח נא ה’ לְעַבְדְּךָ בַּדָּבָר הַזֶּה
In this matter may Hashem pardon your servant: when my master goes to the house of Rimmon to worship there, he leans on my arm and I also prostrate in the house of Rimmon. When I prostrate in the house of Rimmon, may Hashem pardon your servant for this thing.
The Aramean general Naaman accepted upon himself the seven Noachide laws, which prohibit idolatry. But, as he explained to the prophet Elisha, he was compelled to accompany the king of Aram to the temple of the idol Rimmon. Elisha did not object to this, from which the Talmud (Sanhedrin 74b) derives that, when acting under duress, non-Jews are not obligated to give up their lives to avoid the appearance of idolatry, which a Jew would be obligated to do.