The Bible indicates that we should tolerate any problems that we might have by looking forward to the most important things. Hebrews 12:2 says, “Let us fix our eyes on Jesus, the author and perfecter of our faith, who for the joy set before him endured the cross, scorning its shame, and sat down at the right hand of the throne of God.”
As God, Jesus Christ created the faith that we have in Him, along with His perfect plan of salvation, so that we can spend eternity with Him (John 3:16).
As a man, Christ endured the shame of the cross by looking forward to the joy of sitting down at the right hand of the throne of God the Father.
Jesus should be our example. Whenever we encounter (relatively minor) problems, we need to think of the joy that we will have in eternity with God.