Arcana Coelestia # 2460
2460. 'He dwelt in the mountain' means that in that case they transferred themselves to a kind of good. This is clear from the meaning of 'a mountain' as love in every sense, that is to say, celestial and spiritual love, 795, 1430, and also self-love and love of the world, 1691. It has these meanings because most things in the Word also have a contrary sense; and because all good stems from some kind of love 'the mountain' mentioned here means good. Which kind of good however is described in what follows, namely that it was obscure and rendered impure, for soon it is said that 'he dwelt in a cave' and after this that profane acts took place there.
Arcana Coelestia # 796
796. Because the Most Ancient Church conducted holy worship on mountains, the Ancient Churches therefore did so as well. Consequently with all the representative Churches of that time, and indeed with 'the nations' too, sacrifices were offered on mountains, and high places were built. This is clear from what is said about Abram in Genesis 12:8; 22:2; about the Jews before the Temple was built, in Deuteronomy 27:4-7; Joshua 8:30; 1 Samuel 9:12-14, 19; 10:5; 1 Kings 3:2-4; about the nations, in Deuteronomy 12:2; 2 Kings 17:9-11; about the Jews, who were idolaters, in Isaiah 57:7; 1 Kings 11:7; 14:23; 22:43; 2 Kings 12:3; 14:4; 15:3-4, 34-35; 16:4; 17:9-11; 21:3, 23:5, 8, 9, 13, 15.