From Richard Baxter’s A Christian Directory, Chapter III, Part I, page 67,

Sometimes, the soul that would draw near to God, is overwhelmed with grief and terror, so that the sense of sin, and danger, and misery do even distract men and cast them into agony…Yea, they think they feel God thrust them from him, and tell them that he hath utterly forsaken them. In this case, faith must look to Christ, and remember that he was in an agony when he prayed, and in greater agony than ever you were so that he sweat even drops of blood; and yet in agony he prayed more earnestly…And yet he was the beloved of the Father, and is no at his right hand in glory: and all this he did that we might not be forsaken. He hath removed the enmity: he hath reconciled us to God. By grief he passed himself to joy, and he will wipe away his servants’ tears, and cause their griefs to end in joy.
Sometimes the soul that would draw near to God, is molested with a storm of hideous temptations, and even confounded with a swarm of disordered, perplexed thoughts. Satan assaulteth it with temptations to despair, temptations to horrid blasphemous thoughts, temptations to entangle, intermit, corrupt, or pervert the duty which they are about; so that the soul is discouraged, overwhelmed, and broken with the inward assaults, and troubles, and distractions which it undergoeth. In this case faith bath a Saviour suitable to our relief. It can look to him that was tempted in all points lie as we are, without sin, and is now such a High Priest as can be touched with the feeling of our infirmities; and therefore we may come boldly to the throne of grace, that we may obtain mercy and find grace to help in time of need.
He submitted not only to be tempted by Satan, but tempted in a wilderness, where he had no man to comfort him; and to be tempted to the most horrid blasphemy and wickedness, even to fall down and worship the devil himself: and he suffered the tempter violently to carry him to the pinnacle of the temple. What should we think of ourselves, if we had been used thus? Should we not think that God had utterly forsaken us? He suffered himself to be tempted also by men; by the abused and reproaches of his enemies; by the desertion of his followers; by the carnal counsel of Peter, persuading him to put by the death which he was to undergo. And he that made all temptations serve to the triumph of his patience, and conquering power, will give the victory also to his grace, in the weakest soul.
It would be the greatest attractive to us to draw near to God, and make the thoughts of him pleasant to us, if we could but believe that he dearly loveth us, that he is reconciled to us, and taketh us for his children, and that he taketh pleasure in us, and that he resolveth for ever to glorify us with his Son; and that the dearest friend that we have in the world, doth not love us the thousandth part so much as he. And all this in Christ, is clearly represented to the eye of faith…Light and heat are not more abundant in the sun, than love is in Jesus Christ. To look on Christ, and not perceive the love of GOd, is as to look on the sun, and not to see and acknowledge its light. Therefore whenever you find your hearts averse to God, and to have no pleasure in him, look then to Jesus, and observe in him the unmeasurable love of God.”