; if, for example, one of them is seen falling into the sea, he should not be rescued, for it is written: ‘neither shalt thou stand against the blood of thy fellow’–but [a Gentile] is not thy fellow" (Mishneh Torah, Laws of Murder 4:11).
https://www.myjewishlearning.com/article/israel-and-anti-gentile-traditions/