Arcana Coelestia # 2566
2566. 'Flocks and herds' means, enriched with rational goods and natural goods.... This is clear from the meaning of 'flocks and herds'. The word 'flock' is used of those inside the Church who are truly rational, that is, who are internal people; and from this 'flock' also means - abstractedly - rational or internal goods themselves. Regarding the meaning of 'a flock', see 343, 415, 1565. The word 'herd' however is used of those inside the Church who are natural, that is, who are external people; and from this too 'herd' means - abstractedly - natural or external goods themselves. Regarding this meaning of 'herd', see 2180. It has been shown that 'beasts' has these meanings in 45, 46, 142, 143, 246, 714, 715, 776, 1823, 2179. 'Abimelech took and gave' means that the doctrine of faith was enriched, for, as has been stated, 'Abimelech' means the doctrine of faith.
Ezekiel 36:9-11
9
For, behold, I am for you, and I will turn into you, and you shall be tilled and sown;
10
and I will multiply men on you, all the house of Israel, even all of it; and the cities shall be inhabited, and the waste places shall be built;
11
and I will multiply on you man and animal; and they shall increase and be fruitful; and I will cause you to be inhabited after your former estate, and will do better [to you] than at your beginnings: and you shall know that I am Yahweh.