The law was given specifically to the children of Israel, with the stated intent of making them a special people set apart from other people:
Exodus 19
3 And Moses went up to God, and the Lord called to him from the mountain, saying, “Thus you shall say to the house of Jacob, and tell the children of Israel: 4 ‘You have seen what I did to the Egyptians, and how I bore you on eagles’ wings and brought you to Myself. 5 Now therefore, if you will indeed obey My voice and keep My covenant, then you shall be a special treasure to Me above all people; for all the earth is Mine. 6 And you shall be to Me a kingdom of priests and a holy nation.’ These are the words which you shall speak to the children of Israel.”
If you'd like a NT reference, consider that there was a council on this very issue, recorded in Acts (you guys might want to actually read the bible if you're gonna comment on it):
Acts 15
3 They wrote this letter by them:
The apostles, the elders, and the brethren,
To the brethren who are of the Gentiles in Antioch, Syria, and Cilicia:
Greetings.
24 Since we have heard that some who went out from us have troubled you with words, unsettling your souls, saying, “You must be circumcised and keep the law” —to whom we gave no such commandment— 25 it seemed good to us, being assembled with one accord, to send chosen men to you with our beloved Barnabas and Paul, 26 men who have risked their lives for the name of our Lord Jesus Christ. 27 We have therefore sent Judas and Silas, who will also report the same things by word of mouth. 28 For it seemed good to the Holy Spirit, and to us, to lay upon you no greater burden than these necessary things: 29 that you abstain from things offered to idols, from blood, from things strangled, and from sexual immorality. If you keep yourselves from these, you will do well.
Exodus 19
3 And Moses went up to God, and the Lord called to him from the mountain, saying, “Thus you shall say to the house of Jacob, and tell the children of Israel: 4 ‘You have seen what I did to the Egyptians, and how I bore you on eagles’ wings and brought you to Myself. 5 Now therefore, if you will indeed obey My voice and keep My covenant, then you shall be a special treasure to Me above all people; for all the earth is Mine. 6 And you shall be to Me a kingdom of priests and a holy nation.’ These are the words which you shall speak to the children of Israel.”
If you'd like a NT reference, consider that there was a council on this very issue, recorded in Acts (you guys might want to actually read the bible if you're gonna comment on it):
Acts 15
3 They wrote this letter by them:
The apostles, the elders, and the brethren,
To the brethren who are of the Gentiles in Antioch, Syria, and Cilicia:
Greetings.
24 Since we have heard that some who went out from us have troubled you with words, unsettling your souls, saying, “You must be circumcised and keep the law” —to whom we gave no such commandment— 25 it seemed good to us, being assembled with one accord, to send chosen men to you with our beloved Barnabas and Paul, 26 men who have risked their lives for the name of our Lord Jesus Christ. 27 We have therefore sent Judas and Silas, who will also report the same things by word of mouth. 28 For it seemed good to the Holy Spirit, and to us, to lay upon you no greater burden than these necessary things: 29 that you abstain from things offered to idols, from blood, from things strangled, and from sexual immorality. If you keep yourselves from these, you will do well.