…for the LORD searches all hearts and understands all the intent of the thoughts. – 1 Chronicles 28:9
No Christian man is all that he thinks he is; our purest gold is alloyed. We have none of us so much faith as we impute to ourselves, nor so much patience, or humility, or meekness, or love to God, or love to men. Spurious coin swells our apparent wealth. It is amazing how rich and increased in goods we are till the Lord deals with us by a trial, and then full often we discover that we are naked, and poor, and miserable in the very respects in which we boasted ourselves. Oh, man, if thou be a child of God thou art like a house which He is building with gold, and silver, and precious stones; but by reason of thine old nature thou art mixing up with the divine material much of thine own wood, and hay, and stubble; therefore, is it that the fire is made to rage around thee to burn out this injurious stuff which mars the whole fabric. If the Holy Spirit be pleased to bless thine afflictions to thee then wilt thou be daily led to put away the materials of the old nature with deep abhorrence and repentance, and thus shall the true work of God which He has built upon the sure foundation, stand in its true beauty, and thou shalt be builded for eternity.
The rod of God teacheth us more than all the voices of His ministers. When the Christian has been passed through the fire, the assaying, by removing the dross, adds a new lustre to the gold. Brother, thou art not what thou shalt be, nor canst thou be what thou shalt be except through a measure of trial. Child, it is needful for thee to feel the weight of thy Father’s hand, or thou wilt never behave thyself as a man. Thou must see His face veiled with frowns and hear His voice in harshness chiding thee for thy transgressions, otherwise thou wilt always retain the follies of childhood. Our chastisements are our promotions. They are privileges more precious than the rights of princes. “It is good for me that I have been afflicted.” ~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/1277.cfm