וַיַּ֤עַן הָעָם֙ וַיֹּ֔אמֶר חָלִ֣ילָה לָּ֔נוּ מֵעֲזֹ֖ב אֶת־יְהוָ֑ה לַעֲבֹ֖ד אֱלֹהִ֥ים אֲחֵרִֽים׃
And the people answered and said: ‘Far be it from us that we should forsake the LORD, to serve other gods;
Read halakhic rulings (Jewish law) on Joshua 24:16: and classical halakhic sources.