Here is something that changes how you read this. Paul wrote these words from a prison cell. So when he says do not worry about anything, he is not talking down to you from an easy life. He is telling you what held him when his own situation was worse than yours.
Look at the trade he offers. He does not say think harder or solve it. He says pray about everything, and tell God what you need. Overthinking is you carrying the problem in circles. Prayer is you setting it down in God’s hands and thanking Him before you can even see the outcome.
And notice what actually guards you. Not a solved problem. A peace that does not even make sense for your situation. You do not have to understand the peace for it to hold you.
So try this tonight. Take the one thought going around the loudest and say it to God out loud, as plainly as you would text a friend. That is not weakness. That is the way out.