I love this verse! But you actually need to reverse it to get the perfect peace God promises.
First, trust God. Then, because you trust God your mind can be steadfast, meaning don’t be ruled by your emotions. And then when you trust God and remain steadfast, you will have the promised peace that God offers to his children. Even in the midst of your storms. Even in the midst of this storm.