Joe Puetz-USA TODAY Sports

Paul Goldschmidt hit a home run, scored twice and drove in three runs as the St. Louis Cardinals defeated the visiting New York Mets to 7-3 Sunday to avoid a four-game sweep.

Richie Palacios drove in two runs and made a homer-robbing catch for the Cardinals, who finished with 15 hits and snapped their four-game losing streak.

Pete Alonso hit his 39th homer for the Mets, whose four-game winning streak came to an end.

Cardinals starting pitcher Dakota Hudson (5-0) allowed two runs on five hits in 5 1/3 innings. He struck out seven and walked two.

Mets starting pitcher Carlos Carrasco (3-7) allowed three runs on nine hits in fourth innings. He struck out three and walked nobody.

Palacios kept the Mets off the scoreboard in second inning with a leaping catch at the center field wall to rob DJ Stewart of a solo homer.

The Mets broke on top in the third inning. After Omar Narvaez drew a leadoff walk, then Rafael Ortega reached on a fielder's choice grounder and scored from first base on Jonathan Arauz's hit-and-run single.

The Cardinals tied the game 1-1 in the bottom of the inning on singles by Tommy Edman, Alec Burleson and Goldschmidt.

Alonso's 423-foot homer in the fourth inning put the Mets back on top 2-1.

The Cardinals moved ahead 3-2 in the fifth inning. Burleson hit a double and Goldschmidt knocked Carrasco out of the game with his 20th homer of the season.

St. Louis expanded its lead to 7-2 in the seventh inning. Goldschmidt hit a single and Nolan Arenado walked to set the stage. Willson Contreras hit an RBI single, Jordan Walker hit a run-scoring double and Palacios capped the rally with a two-run single.

The Mets cut their deficit to 7-3 in the eighth inning. Francisco Lindor hit a one-out single and Alonso reached base with two outs after striking out on a wild pitch.

Francisco Alvarez hit a single that Tyler O'Neill misplayed in left field. One run scored, but Alonso was thrown out at the plate to end the inning.

More must-reads:

TODAY'S BEST
Mavericks ride 'Luka Magic' on both ends late to win Game 1
Panthers shut out Rangers 3-0 in Eastern Conference Final opener
NBA announces 2023-24 All-NBA teams
Star Padres infielder to miss significant time with shoulder injury
LeBron James, Charles Barkley passionately defend Caitlin Clark from 'petty' haters
Roger Goodell discusses factors for possible 18-game NFL season
Cowboys QB Dak Prescott has intriguing comment on his contract situation
Celtics toying around with surprise Jayson Tatum move in conference finals
Former teammate warns Tee Higgins about pitfalls of playing on franchise tag
Watch: Timberwolves and Mavericks trade dunks in third quarter
Yankees owner Hal Steinbrenner tempers expectations for Juan Soto extension
Canucks' Rick Tocchet wins 2024 Jack Adams Award
Incredible Orioles streak finally comes to end against Cardinals
Raiders QB shares surprising reason for switching jersey number
New Jersey Devils to hire just-fired head coach to lead bench
Latest announcements show how deep Knicks' injury issues ran
Veteran WR announces retirement after nine seasons
Eagles stars defend new DC following criticism
Steelers first-round pick still confident following 'rough' practice
Angel Reese pulls notable sports ownership move

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.