Joshua 24:20 Halakhah

כִּ֤י תַֽעַזְבוּ֙ אֶת־יְהוָ֔ה וַעֲבַדְתֶּ֖ם אֱלֹהֵ֣י נֵכָ֑ר וְשָׁ֨ב וְהֵרַ֤ע לָכֶם֙ וְכִלָּ֣ה אֶתְכֶ֔ם אַחֲרֵ֖י אֲשֶׁר־הֵיטִ֥יב לָכֶֽם׃

If ye forsake the LORD, and serve strange gods, then He will turn and do you evil, and consume you, after that He hath done you good.’

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