INGLEWOOD — The Chargers took a comprehensive 27-17 victory Sunday from the Tennessee Titans at SoFi Stadium, winning their third game in a row, their fourth in five games after their bye week and their sixth in nine games overall, one more than they won during their lost season of 2023.

Now, it gets tougher.

Now, the Chargers must put the lackluster teams with lackluster quarterbacks in their rearview mirror and forge ahead against Joe Borrow and the Cincinnati Bengals, Lamar Jackson and the Baltimore Ravens, Kirk Cousins and the Atlanta Falcons and Patrick Mahomes and the undefeated Kansas City Chiefs.

The next four weeks loom as one difficult test after another after another after another. If the Chargers run that gauntlet with a minimum of damage, then they close the season with meaningful games against the Tampa Bay Buccaneers, Denver Broncos, New England Patriots and Las Vegas Raiders.

“Those games show you who you are,” Chargers outside linebacker Khalil Mack said of the next four opponents. “It’s going to be a challenge and I love challenges.”

The Chargers showed who they are against teams below them in the standings. The Titans, for example, went into the game with a 2-6 record, but welcomed back quarterback Will Levis and running back Tony Pollard from shoulder and knee injuries. It didn’t matter. They were no match for the Chargers.

Justin Herbert sparked the Chargers’ third consecutive victory with his arm and his legs, throwing a 16-yard touchdown pass to wide receiver Quentin Johnston in the third quarter after running for a 4-yard score on a fourth-and-1 play from the Titans’ 4-yard line in the second quarter.

Herbert completed 14 of 18 passes for 164 yards. Two passes were dropped and another was ripped from the hands of Joshua Palmer by defensive back Darrell Baker Jr. The fourth misfire was initially ruled a fumble that led to a Titans touchdown, but it was later overturned by video replay and ruled an incomplete pass.

Herbert also rushed for 32 yards on nine carries, weaving his way through traffic on his touchdown run and on several other runs, too.

“Man, Justin was doing some (expletive) I’ve never seen,” Mack said. “He pumped (and faked out) the DB. I didn’t know he had that in the arsenal. I know Justin is looking at all the film. Special player. You see him laying his body on the line today. It speaks volumes when you have a leader like that.”

Again, the Chargers’ victory was far from one-dimensional.

The Chargers sacked Levis seven times, including two each by Tuli Tuipulotu and Bud Dupree. Joey Bosa also had a sack, the 70th of his career, moving him into second place on the Chargers’ all-time list. Bosa has been slowed by hand and hip injuries since the start of training camp back in late July.

Mack played only a handful of snaps because of a groin injury.

“I think that shows the unity we have, the kind of team defense we have,” said Chargers linebacker Daiyan Henley, who had a team-leading 13 tackles. “It’s not solely reliant on one person. It shows ‘K-Mack’ is such a guy, who he is, a future Hall of Famer, we know we have to pick up the slack if he’s missing.”

Herbert rallied the Chargers into the lead, 13-7, with a 4-yard touchdown run on a fourth-and-1 play from the 4 with 1:55 left in the half, his first rushing touchdown of the season. Cameron Dicker kicked field goals of 21 and 37 yards in the first half and was successful on the extra point after Herbert’s run.

Tennessee scored on its first possession, the first time a Chargers opponent had scored on its first drive. Levis threw a 42-yard touchdown pass to wide receiver Calvin Ridley, who got a step on Chargers’ defensive back Ja’Sir Taylor and sprinted the final steps into the end zone for a 7-3 lead with 4:25 left in the first quarter.

Levis also connected with Ridley on a 15-yard touchdown pass late in the game.

Herbert threw a 16-yard touchdown pass to Johnston for a 20-10 lead with 3;24 left in the third quarter, after Nick Folk capped the Titans’ first drive of the second half with a 27-yard field goal. Derius Davis set up Herbert’s TD pass with a 56-yard kickoff return to the Titans’ 43-yard line.

“He’s incredible,” Coach Jim Harbaugh said of Herbert, who became the fifth quarterback in NFL history to pass for more than 19,000 yards in the first five seasons of his career. “You run out of adjectives. Guardian of victory for our football team. In awe, really, most of the time.”