I think you failed to understand something. That's $26M of dead money on the cap, not actual cash being paid. Nobody "lost" $26M of anybody's money. That money had already been paid to Wilson, part of the $107M the Seahawks paid him since he signed his last contract extension with them in 2019. Since that amounted to three seasons, the average annual value of that contract ended up being $35.67M. That was Wilson's market value for that time (I'm guessing his market value is a lot lower now, but market value for a top QB is even higher than almost $36M per year). So there doesn't appear to be money lost there either.
And Seahawks management (correctly, evidently) determined that taking a $26M dead-money charge against this year's cap to trade Wilson was the best way forward, and that it would allow them to build a better team for the next few years. I don't even have to argue that they might have even known that they could be better this year than last year, even with all that dead money on the cap. But I think it's pretty clear they did know that they could at least field a competitive NFL team this season that would have the base of a potential contender for the next few seasons, even with all that dead money on the cap. That looks like great cap management, especially considering that they were in what appeared to be difficult circumstances, with their star quarterback pushing hard to get out and the team having been built around him for the last several years.
There was no $26M lost. The dead-money charge is just accelerated accounting of money that's already been paid, but the cap hit of which had been spread out. Because of the trade, instead of the cap hit of Wilson's signing bonus being spread out over five seasons, the last two seasons of deferred cap charges were brought into this year's cap number.
So what's the "HISTORIC EPIC FAILURE!!"?