"Gentiles are neither to be lifted [out of a well] nor hauled down [into it]" (Tractate Avodah Zarah, 26b). Maimonides writes: "As for Gentiles with whom we are not at war…their death must not be caused, but it is forbidden to save them if they are at the point of death;
https://www.myjewishlearning.com/article/israel-and-anti-gentile-traditions/