Arcana Coelestia # 2234
2234. That 'the way' means doctrine is clear from the meaning of 'a way'. 'A way' in the Word is used in reference to truths, because truths lead to good and go forth from good, as is made clear from the places quoted in Volume One, in 627. And because a way is used in reference to truths, 'a way' is doctrine since doctrine taken as a whole embraces all those things which lead to good, that is, to charity.
Jeremiah 33:15
15
In those days, and at that time, will I cause a Branch of righteousness to grow up to David; and he shall execute justice and righteousness in the land.