Both if you want.
Quite a few pre-Jewish religions had equivalents and parallel teachings, most influential to Judeo-Christian philosophy being the Zoroastrian Asha Vahishta. But that might not be along the lines you wanted to have this thread follow.
I'm of the opinion that God's commandments were not totally unknown before Sinai. It's very likely that other cultures and societies were aware of them and tried to follow them to the best of their ability.
Malachi 1:11...For from the rising of the sun even unto the going down of the same my name shall be great among the Gentiles; and in every place incense shall be offered unto my name, and a pure offering: for my name shall be great among the heathen, saith the LORD of hosts.
Thought I'd like to add these.
Swell thread. Thanks so much..