The 49ers blew two double-digit leads in the last three weeks in losses. There was a period in the second half when it could have transpired again.
San Francisco controlled the game early against the Seattle Seahawks with a 16-3 halftime lead before making it 23-3 in the third. However, special teams errors and momentum saw Seattle storm back to make it 23-17 in the second half.
In the end, Brock Purdy and Co. showed resilience as the 49ers earned a crucial 36-24 road win on "Thursday Night Football" in Seattle.
Stay in the game with the latest updates on your beloved Bay Area and California sports teams! Sign up here for our All Access Daily newsletter.
Let's analyze the game further with winners and losers:
WINNER: Brock Purdy, 49ers
Sometimes a game can just boil down to how the quarterbacks performed in the big moments. That factor favored Purdy, who posted solid numbers whereas opponent Geno Smith exhibited his turnover flaws.
Purdy completed 18 of 28 passes for 255 yards, three touchdowns, no picks and no sacks, once again showing his improved ability to extend plays with his legs. It was the opposite for Smith, who was inefficient and turned the ball over twice.
San Francisco 49ers
Purdy also had to do so with more injury woes, as running back Jordan Mason left early after a strong start while wide receiver Deebo Samuel and tight end George Kittle battled injuries, too. His key play was a 76-yard catch-and-run touchdown to Samuel early in the second quarter.
LOSER: Geno Smith, Seahawks
As aforementioned, whereas Purdy played a clean game and once again proved how he can help keep the 49ers afloat, Smith revealed how he holds Seattle back.
Smith completed 30 of 52 passes for just 312 yards, one touchdown and two picks, both coming at inopportune times. His first came on Seattle's first drive when it marched near the red zone, but rookie safety Malik Mustapha picked it off at the one-yard line.
The second came midway through the fourth when Seattle generated momentum and looked prime for a comeback. But rookie cornerback Renardo Green, seeing increased minutes after Charvarius Ward was ruled inactive, jumped the route to cool things down.
Seattle enjoyed a 3-0 start to the season, though it came against relatively weaker opposition. Since then, it has lost to two NFC contenders (Detroit Lions, 49ers) while also being stunned at home against the New York Giants amid a three-game skid.
Smith just has to be better with the money he's earning, but not much suggests a major change is pending.
WINNER: Resilience
San Francisco could have been 5-1 at this point had it not blown double-digit leads late against the Los Angeles Rams and at home to the Arizona Cardinals.
And after the Seahawks started coming back into the game, San Francisco could have feared the worst and allowed a collapse to occur again. But Green's aforementioned pick helped turn the tide, with Purdy's three touchdowns coming up big in the end.
San Francisco still has a long way to go to prove it is a true contender after a flimsy start, especially with the Kansas City Chiefs visiting next in Week 7 for a Super Bowl LVIII rematch. But the 49ers are indicating, in flashes, they can turn up the heat like they have done before, which could bode well down the line if injuries slow down.
LOSER: An easy missed call?
Perhaps San Francisco could have sealed the game sooner had a turnover challenge been converted.
On a punt return, Seattle corner Dee Williams appeared to have just touched the ball with a finger. It was recovered by the 49ers, but the referees ultimately ruled it Seattle ball with no muffed punt.
Camera angles appear to show Williams' finger -- specifically, thumb -- move when the ball is in his hands' vicinity. Terry McAuley on the Amazon Prime broadcast said the NFL replay command center did not have the same angles as shown on screen.
While the 49ers in the end will be happy with the result, things might have been completely different with a loss.
WINNER: Backup kickers
Following Jake Moody's ankle sprain last week, the 49ers had to call in backup kickers to work out for the team a few days before they traveled to Seattle.
They chose 28-year-old Matthew Wright, who had a 40-for-47 record on kicks entering this game. While Moody, a second-year third-round pick, has delivered mixed results for where he was drafted, Wright displayed confidence with a perfect night in a tough environment.
Wright connected on all three field goals -- with a long of 41 yards -- and all three extra points. However, similar to Moody, Wright appeared to suffer an injury late in the game defending a kickoff attempt. He at least will have a longer week to rest before next week's game if it's not a long-term injury.