Joshua 24:14 Halakhah

וְעַתָּ֞ה יְר֧אוּ אֶת־יְהוָ֛ה וְעִבְד֥וּ אֹת֖וֹ בְּתָמִ֣ים וּבֶֽאֱמֶ֑ת וְהָסִ֣ירוּ אֶת־אֱלֹהִ֗ים אֲשֶׁר֩ עָבְד֨וּ אֲבוֹתֵיכֶ֜ם בְּעֵ֤בֶר הַנָּהָר֙ וּבְמִצְרַ֔יִם וְעִבְד֖וּ אֶת־יְהוָֽה׃

Now therefore fear the LORD, and serve Him in sincerity and in truth; and put away the gods which your fathers served beyond the River, and in Egypt; and serve ye the LORD.

Read halakhic rulings (Jewish law) on Joshua 24:14: and classical halakhic sources.