Arcana Coelestia # 6803
6803. 'And God heard their groaning' means help. This is clear from the meaning of 'hearing' as obeying, dealt with in 2542, 3869, 4652-4660, 5017, though when used of the Lord the word means making provision and bringing help, for the Lord brings help to the one He hears; and from the meaning of 'groaning' as grief on account of the endeavour by falsities to subdue them.
2 Samuel 23:5
5
Most certainly my house is not so with God, yet he has made with me an everlasting covenant, ordered in all things, and sure, for it is all my salvation, and all [my] desire, although he doesn't make it grow.