2nd Kings 17:3-6
Shalmaneser king of Assyria defeated Hoshea with the Israelites and took all of them captive.
2nd Kings 17:7-23
Reasons and warnings after which God punished the Israel for.
2nd Kings 17:24-41
Instead of Israelites the Assyrian king repopulated their land with the other nations which only worshipped their own idols, but after God punished them with the lions, they began to worship God also.
– I believe this proves why God’s laws were only for Jews themselves and/or for those who choose to live in their land.