The problem is necessary, the suffering is useful. All these painful trials, trials, and trials have a huge role to play in your success. Because by giving you these unpleasant things, there is one great goal that God wants to accomplish with your life.
And no, God's purpose is not to punish you for your sins. It is precisely this kind of mind that you should avoid.
So do not ask God to get rid of all your problems, but ask Him to improve your self-qualities so that you can handle God's tests well without feeling overwhelmed by your problems.