Philo, the Alexandrian Jewish Philosopher, wrote many books proselytizing to the Gentiles of Alexandria that they should take on mitzvos. In Life of Moses 2.44, the Hellenistic Jew Philo believes that God did expect all the nations to observe the Torah, for Philo hoped that all the nations would recognize the wisdom of Israel’s law and join themselves to the Jewish people.
Overall, the view of Chazal was quite different, for they held that Jews had to observe the entire Torah, whereas Gentiles only had to obey the seven Noachide commandments, which were against murder, idolatry, sexual immorality, eating from a live animal, and other things. At the same time, there are times when rabbinic literature ascribes a universality to the Torah, asserting that it was the blueprint with which God created the universe, that God offered it to all the nations of the world (who rejected it) before he finally gave it to Israel, and that God revealed the Torah in a no-man’s land (the desert) so that no nation would be able to lay sole claim to it.