If any of you lacks wisdom, let him ask of God, who gives to all liberally and without reproach, and it will be given to him. – James 1:5
Many persons are made foolish, so that they lack wisdom through their despair. Probably, nothing makes a man seem so much like a maniac as the loss of hope. When the mariner feels that the vessel is sinking, that the proud waves must soon overwhelm her, then he reels to and fro, and staggers like a drunken man, because he is at his wits’ end. Ah! poor heart, when thou seest the blackness of sin, I do not wonder that thou art driven to despair; and when thy sins come howling behind thee, like so many ravenous wolves, all seeking to devour thee, I do not marvel that thou shouldst be ready even to lay violent hands upon thyself. It is no strange thing for men to be sorely tempted when they are under a sense of sin. And now thou knowest not what to do. If thou couldst be calm and quiet, we could tell you plainly the way of peace, and you might understand that there is no reason for despair, since Jesus died and rose again, and is “able to save to the uttermost them that come unto God by Him;” but you cannot give us a calm hearing, for you are distracted, and you think that this comfort applies to everybody but you. You lack wisdom because you are in such a worry and turmoil. As John Bunyan used to say, you are much troubled up and down in your thoughts. I pray you, then, ask wisdom of God, and even out of the depths if you cry unto Him, He will be pleased to instruct you and bring you out into a safe way. ~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/0735.cfm