In every thing give thanks: for this is the will of God in Christ Jesus concerning you. 1 Thessalonians 5:18
Not always easy to do, but trusting God in your emotional pain is right. Trusting Him that this thing has not happened beneath His notice. Trusting that He has allowed something to happen, to complete His will. He knows what's best for us. Trust that "He who began a good work in you will be faithful to complete it."