Arcana Coelestia # 9344
9344. 'You shall not make a covenant with them and their gods' means no contact with evils and falsities. This is clear from the meaning of 'making a covenant' as being joined together, dealt with in 665, 666, 1023, 1038, 1864, 1996, 2003, 2021, 6804, 8767, 8778, thus also being in contact with, for people who communicate with one another are joined to one another; from the meaning of the inhabitants of the land, to whom 'those with whom they were not to make a covenant' refers here, as evils, dealt with just above in 9342; and from the meaning of 'their gods' as falsities, dealt with in 4402 (end), 4544, 7873, 8867, 8941.
Arcana Coelestia # 1024
1024. That 'with you' means a regenerate spiritual person is clear from what has been stated frequently already; that is to say, 'Noah and his sons' means the spiritual Church which came after the Most Ancient, which was celestial. And because it means the Church, it means each member of the Church, and so a regenerate spiritual person.