Beating the first-place Atlanta Braves helped the Phillies keep the faith.
Hoskins and Jose Pirela hit two-run homers off Dallas Keuchel in Philadelphia's five-run fourth inning and the Phillies escaped in the ninth to beat Atlanta 5-4 on Tuesday night and prevent the Braves from moving closer to clinching the NL East.
The Phillies trail Milwaukee and the Cubs by four games in the race for the second NL wild card. They began the night five games behind the second wild card.
"I think first and foremost we still have odds, right, and we know that," Hoskins said. "Sure, we know they may be long and we still may have some work to do, but we're still in it."
Phillies manager Gabe Kapler said he doesn't want his players to focus on the standings.
"We know where we are in the standings," Kapler said. "We know what the numbers say, but it's not what we're paying attention to right now. We're paying attention to fighting for each other down the finish line."
The Phillies' bullpen almost blew a 5-2 lead.
Adeiny Hechavarria's pinch-hit homer off Jose Alvarez in the eighth cut Philadelphia's lead to two runs. Adam Duvall led off the ninth with a homer off Phillies closer Hector Neris, cutting the lead to one.
Neris walked Ronald Acuna Jr., who stole second and moved to third on Ozzie Albies' groundout to Hoskins at first. Neris walked Freddie Freeman before striking out Josh Donaldson on a called third strike. Neris earned his 27th save when Nick Markakis popped out to end the game.
"It's happened so much here that you expect it," Braves manager Brian Snitker said of the ninth-inning comeback attempt. "They always put themselves in position to win. ... It's a good trait to have."
The Braves still need a combination of three wins and Washington losses to clinch the division.
Vince Velasquez (7-7) gave up two runs in the first before recovering with four straight scoreless innings for his first career win over the Braves. The right-hander allowed five hits in five innings.
Keuchel's streak of five straight wins ended when he gave up five runs in five innings. Keuchel (8-6) allowed a combined four earned runs in his winning streak but topped that total in the fourth.
The Phillies' big inning began when Braves third baseman Donaldson bobbled Bryce Harper's grounder after cutting in front of shortstop Dansby Swanson in an attempt to field the ball. Hoskins followed Harper's infield hit with his 29th homer to right field.
Braves: OF Ender Inciarte (right hamstring strain) worked on outfield drills before batting practice but is "still a ways away" from game action, according to Snitker. Inciarte has been out since Aug. 17. ... IF Charlie Culberson, already declared out for the season, was placed on the 60-day injured list when the team recalled C John Ryan Murphy from Triple-A Gwinnett. Culberson suffered multiple broken facial bones when he was hit in the face by a pitch from Washington's Fernando Rodney on Saturday. He will not require surgery.
Phillies: OF Corey Dickerson was placed on the 60-day IL with a broken bone in his left foot. Kapler said a follow-up test revealed the fracture after initial X-rays were negative. Dickerson had not played since Sept. 11. RHP Edubray Ramos (right shoulder impingement) was reinstated from the 60-day IL.
BRAVES HOMER RECORD
Hechavarria's homer was the Braves' franchise-record 236th of the season. Duvall's homer pushed the record to 237. Atlanta hit 235 homers in 2003.
Keuchel bemoaned his inability to get out of the fourth with no more damage after giving up Hoskins' homer. "That's what I've been so good at, limiting the damage," he said. "I couldn't do that tonight."
Phillies: RHP Zach Eflin (8-12, 4.20) is 0-3 with an 11.57 ERA while lasting only a combined 9 1/3 innings in three starts against Atlanta this season.
Braves: RHP Julio Teheran (10-9, 3.50) will try for his first win of the season against the Phillies. He is 0-2 with an 8.00 ERA in two starts against the Phillies this year.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Nationals owner Mark Lerner says team can't keep both Stephen Strasburg and Anthony Rendon
Stephen Strasburg and Anthony Rendon were key components in the Nationals winning the franchise's first World Series title this year, but Mark Lerner, the team's principal owner, is already preparing to say goodbye to at least one of them in free agency.
Who should be voted to the Baseball Hall of Fame this weekend?
Ten names from the modern era are under consideration for the Hall this weekend. Here's what our ballot would look like.
Mookie Betts to the Reds (or White Sox) and more winter meetings trades we want to see
Hoping for a busy week of moves in San Diego? So are we. Here are some deals that would get everyone talking.
Tommy Pham headed to Padres; Rays to get Hunter Renfroe
The Padres are set to acquire OF Tommy Pham and two-way prospect Jake Cronenworth from the Rays in exchange for Hunter Renfroe and touted 2B prospect Xavier Edwards, sources told ESPN.
Ex-Yankees pitching coach Larry Rothschild hired for same position with Padres
Former New York Yankees pitching coach Larry Rothschild has been hired in the same position by the San Diego Padres.
Athletes join in on the 'Baby Yoda' meme frenzy
To iconic meme status Baby Yoda ascended has. The collective Internet has been going wild over the lovable Disney+ character and the sports world is no exception.