Arcana Coelestia # 1454
1454. 'And he built an altar to Jehovah' means external worship of His Father arising out of that state. This is clear from the meaning of 'an altar' as the chief representative in worship, 921.
2 Kings 17:27-28
27
Then the king of Assyria commanded, saying, "Carry there one of the priests whom you brought from there; and let them go and dwell there, and let him teach them the law of the god of the land."
28
So one of the priests whom they had carried away from Samaria came and lived in Bethel, and taught them how they should fear Yahweh.