In Judaism there is an idea only to teach them the 7 laws
Rambam melachim 10
I understand that these laws are when non Jews are living in Isreal when it is ruled by Jews
A gentile who studies the Torah is obligated to die. They should only be involved in the study of their seven mitzvot.
Similarly, a gentile who rests, even on a weekday, observing that day as a Sabbath, is obligated to die. Needless to say, he is obligated for that punishment if he creates a festival for himself.
The general principle governing these matters is: They are not to be allowed to originate a new religion or create mitzvot for themselves based on their own decisions. They may either become righteous converts and accept all the mitzvot or retain their statutes without adding or detracting from them.
If a gentile studies the Torah, makes a Sabbath, or creates a religious practice, a Jewish court should beat him, punish him, and inform him that he is obligated to die. However, he is not to be executed.
On the other hand
We should not prevent a gentile who desires to perform one of the Torah's mitzvot in order to receive reward from doing so, provided he performs it as required. If he brings an animal to be sacrificed as a burnt offering, we should receive it.
If a gentile who observes the seven mitzvot gives charity, we should accept it from him. It appears to me that it should be given to the Jewish poor for the gentile may derive his sustenance from the Jews and they are commanded to support him if necessary. In contrast, if an idolater gives charity, we should accept it from him and give it to the gentile poor