The Bible acknowledges the issue of suffering as part of the human condition.
The book of Job, one of the longer books in the Bible, is dedicated solely to the question of suffering. Likewise the books of Jeremiah and Habakkuk have much to say about it. Much of 1 Peter and Hebrews is about the suffering and persecution of Christians. Many of Paul’s letters were written from prison. About one third of the Psalms, the prayers of the OT, are cries that arise out of doubt, disappointment, or pain.