Please explain why God tested Abraham.With Abraham God was speaking anthropomorphically (on a human level) as we don’t have the eternal mind of God.
Seriously, where does official Catholic teaching teach that God doesn’t know all things?
Psalm 139:1-4,7-9,15-16,23-24 KJV
[1] O Lord, thou hast searched me, and known me. [2] Thou knowest my downsitting and mine uprising, thou understandest my thought afar off. [3] Thou compassest my path and my lying down, and art acquainted with all my ways. [4]
For there is not a word in my tongue, but, lo, O Lord, thou knowest it altogether.
[7] Whither shall I go from thy spirit? or whither shall I flee from thy presence? [8] If I ascend up into heaven, thou art there: if I make my bed in hell, behold, thou art there. [9] If I take the wings of the morning, and dwell in the uttermost parts of the sea;
[15] My substance was not hid from thee, when I was made in secret, and curiously wrought in the lowest parts of the earth. [16] Thine eyes did see my substance, yet being unperfect; and in thy book all my members were written, which in continuance were fashioned, when as yet there was none of them.
[23] Search me, O God, and know my heart: try me, and know my thoughts: [24] And see if there be any wicked way in me, and lead me in the way everlasting.
Please explain why the scriptures say God tests us, our hearts and our faith?