2 Kings 17:27 Then the king of Assyria commanded, saying, Carry thither one of the priests whom ye brought from thence; and let them go and dwell there, and let him teach them the manner of the God of the land.
Just one priest was returned to Samaria to teach the inhabitants of the land about the God of Israel. This is the beginning of the conversion of non-Jews from pagan to God worshippers. The end result was a class of worshipers the Jews would call Samaritans.
All these Samaritans had was the first five books, the Pentateuch. They did not have the books relating to the history of Israel, Kings and Chronicle or the Psalms. Any books of wisdom or prophesy were absent from their libraries.
The inhabitants of the displaced lands where pagans from many nations forced to live there by the Assyrian Kings. In less than one hundred years the people gave up pagan worship and worshiped Yahweh alone.
What a stark contrast this was from the twelve tribes of Israel who were saved out of Egypt by God and then time and time again turned their back on Yahweh and worshipped pagan gods. This practice led to the dividing of Israel into two kingdom both of which tried to buy their way out of trouble rather than returning to God.
2 Kings 18:16 At that time did Hezekiah cut off the gold from the doors of the temple of the Lord, and from the pillars which Hezekiah king of Judah had overlaid, and gave it to the king of Assyria.
While this worked to save Judah from the Assyrian Kings, Judah fell to the Babylonian King Nebuchadnezzar. These actions bring to mind the harsh warning issued by the prophet Isaiah.
Isaiah 65:5 Which say, Stand by thyself, come not near to me; for I am holier than thou. These are a smoke in my nose, a fire that burneth all the day.
The pagans worshiped Yahweh more faithfully than the divided kingdoms.