James 1:2-3 promises us that trials and tribulations will come in various forms. Jesus even promised that we will face trouble in this world (John 16:33). That does not mean we will like it, yet we can meet with joy knowing that God is with us.
It may feel at times that God is not there. You might accuse yourself of doing something wrong. You might think there is a secret sin God is mad about and He is getting your back for it. If that is the case, then why did Jesus have to die on the cross?
The good news is that God is always with us in the midst of trials. If we ascend to the heavens, he is there or make our bed in Sheol (Psalm 139:8). Nothing in all of creation is hidden from the sight of God (Hebrews 4:13), which includes our suffering. God knows what is going on and He cares for you. He is using your suffering to conform you into the image of Christ.
As Joshua was about to lead Israel into the Promised Land, God gives him this assurance, "Just as I was with Moses, so I will be with you. I will not leave you or forsake you" (Joshua 1:5). That is good news for all followers of Christ who are going through suffering. Just as God was with Moses, Joshua, David, Daniel, Peter, and Paul, He is with us.
God is ever-present in our suffering. He has not abandoned you. He is taking care of you and will see you through. You may not understand why you are going through the trials you will go through, but one thing we can rest on is God is with us.