Just because a problem is important, doesn't imply that your team is properly positioned to succeed in the market. If you don't have a good chance of succeeding due to changing circumstances, there's no reason to assume that it's worth the time and capital to continue.
These are really tough decisions. You can look at every successful company and, thanks to the hindsight bias, see that success is almost always born through persistence through difficulty. But there are plenty of examples where fighting a losing battle wasn't worth it. Or of people who tried, failed, quit at the right time, tried something else, and then succeeded.