Image Source(direct link to img)
When you are being tested, you need to recognize your need for strength. And you must look for a greater resource to hold onto in the midst of trials - God Himself. God gives us different forms of wisdom. He gives us wisdom to solve our every trials. Killing, suicide or doing anything bad will not help solve our problem. Instead, it's only making the problem worse.
God does not give us the spirit of wickedness but rather He gives us wisdom to fight every works of satan. This kind of wisdom is not philosophical speculation, but the absolute God's will. the Divine Wisdom that is pure and peacable, James 3:17
Divine wisdom results in all good deed.
Some Christians go through troubles. Instead of asking God's wisdom to solve, they go to people asking for help. Although God works in every believer, our initial response to every trials should be to ask God first for wisdom.
In Proverbs 9:10 the Bible says;
The fear of the Lord is the beginning of wisdom and the knowledge of
the Holy One is understanding.
The essence of having wisdom is fearing and obeying the Lord in times of trouble. Submission of our life is how wisdom works in our daily situation.