Shahak further suggests that the Jewish tradition values Jewish life more than Gentile life. He cites Maimonides’ assertion that whereas one who murders a Jew is subject to the death penalty, one who murders a non-Jew is not (Mishneh Torah, Laws of Murder 2:11). According to another leading commentator, indirectly causing the death of a non-Jew is no sin at all (Rabbi Yoel Sirkis, Bayit Hadash, commentary on Bet Yosef, Yoreh Deah 158).
https://www.myjewishlearning.com/article/israel-and-anti-gentile-traditions/