LORD, by Thy favour Thou hast made my mountain to stand strong: Thou didst hide Thy face, and I was troubled. – Psalm 30:7
Some of us know that when God shuts us up in the dark, He loves us as dearly as when He pours sunlight upon us, but beginners in divine life do not know this, and they are terribly put to it, since they judge God’s heart by His hand. “Can I be a child of God, and yet be so afflicted? and why is my light so dim?” It may be the Lord withholds the light of His countenance from them, and then they walk in darkness, and see no light. If they were always to enjoy calm and comfort, they would with self-complacency boast, “My mountain standeth firm; I shall never be moved,” and the Lord hides Himself from them to slay their pride. If they were always at ease, they would fall into living by feeling, instead of walking by faith. Therefore, the Lord tries them, leads them by a desert path, clouds their sky, and burdens their backs. Then they enquire, “How is this?”
Suppose it should be true that, ever since you have been a Christian, you have not prospered in worldly concerns as you did before. It will seem strange. When you were a man of the world, and were an enemy of God, you had plenty of money, and a host of friends; but now that you have become a Christian, your means and your friends are gradually melting away. Yet it is not hard to explain this in several ways. The Lord would not have us follow Him for the sake of what we get from Him. He would have us men, against whom even Satan could not say, “Hast Thou not set a hedge about him, and all that he has?” Our Lord desires followers who will cling to Him at all risks, for no other reason but their value of Himself and His truth. He would have servants who, having counted the cost, would lose estate and repute, yea, and life itself, sooner than turn aside from the way of their Lord. Perhaps you are being educated to this point of faithfulness. Do not, therefore, doubt, because of your exercises and tribulations; but take these things joyfully. ~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/2188.cfm