When we are in constant, extreme pain due to a problem, there is a high chance that we will put effort into resolving it. So, pain (being painful) works in our favour.
Other problems sometimes cause extreme pain and other times reasonable pleasure. Most such problems play with us. For such issues, we often find workarounds and learn to live with them. This simply prolongs our suffering and cumulative pain.
Take some time to think about the type of problem you are dealing with. Assess what it takes to resolve the issues at hand.