James 1:24

For he beholdeth himself, and goeth his way, and straightway forgetteth what manner of man he was.

Cross-reference

James 1:25 Contrast

In James 1:25, the doer who looks intently into the law is directly contrasted with the forgetful hearer of v.24.

Psalm 119:16 says 'I will not forget thy word' — directly addresses forgetting, in contrast to James's description of immediate forgetfulness.