Arcana Coelestia #45
45. This was how people who lived in most ancient times envisaged matters of the understanding and those of the will. Among the Prophets therefore, and consistently throughout the Old Testament Word, like matters are represented by various kinds of living creatures. There are two kinds of beasts - evil ones, because they are harmful, and good ones, because they are gentle. Evil [and harmful] things in man were meant by such beasts as bears, wolves, and dogs, while good and gentle things were meant by beasts such as calves, sheep, and lambs. As the subject here is those persons who are to be regenerated, 'the beasts' are good and gentle ones, which mean affections. Things of a baser nature that derive from the body are called 'wild animals of the earth'. These are desires and pleasures.
Arcana Coelestia #3997
3997. 'And my righteousness will answer for me' means the Divine holiness which He possessed. This is clear from the meaning of 'righteousness' as that which has regard to good, dealt with in 612, 2235. But when used of the Lord, as it is here, Divine holiness is meant, for all spiritual or celestial good proceeds from the Lord's Holy Divine.