ST. LOUIS (AP) St. Louis infielder Matt Carpenter finally got the best of close friend Jake Arrieta.

But he isn't going to brag about it.

Carpenter slammed a two-run homer, Yadier Molina homered twice and Adam Wainwright threw seven shutout innings to lead the Cardinals to a 5-0 win over the Chicago Cubs on Sunday.

Randal Grichuk added three hits for St. Louis, which won for the eighth time in nine games. Chicago has lost three of four.

Carpenter entered his third-inning at-bat with a 1-for-31 career slate against Arrieta. The two were college teammates at TCU. Carpenter served as a groomsman at Arrieta's wedding.

''It was great to get out there and finally have some success against him,'' Carpenter said. ''He's given me a hard time over the years, we jab back-and-forth but, I won't rub that kind of stuff in.''

Arrieta (4-3) realized that his success against Carpenter was not going to last forever.

''A hitter like that, regardless of the history - you make a mistake and they're going to make you pay for it,'' Arrieta said.

Carpenter came into the game 0 for 27 against Arrieta in the regular season and 1 for 3 in the post season. He grounded back to the mound in his first trip to the plate.

''I always kid him that I'm a .300 hitter against him in the post-season,'' Carpenter said.

Molina recorded the third multi-homer game of his career. His last came on Aug. 21, 2011 at Wrigley Field. He drilled a two-run homer off Arrieta in the second inning.

Swinging a pink bat in honor of mother's day, Molina added a solo blast off Brian Duensing in the eighth. Molina pointed to his mother, Gladys, in the stands as he headed into the dugout.

''It's special, every time you have your family and your mama here,'' Molina said. ''I got lucky and put a good swing on it.''

Wainwright (3-3) allowed four hits in a 102-pitch stint. He struck out three and walked four. Wainwright had given up four earned run in each of his last three starts.

''It's a good outing to build off,'' Wainwright said. ''I can still get better. I can still have better fastball command. It's certainly a stepping stone.''

Trevor Rosenthal and Kevin Siegrist each pitched a perfect inning to complete the four-hitter.

Chicago had runners on in six of the first seven innings.

''Overall, we're not doing a good job with runners in scoring position,'' Chicago manager Joe Maddon said.

MOTHER'S DAY MANIA

A crowd of 47,925 attended the contest, the largest crowd in the history of Busch Stadium III. The three-game series drew 143,408.

MAGIC NUMBER ON HOLD

Maddon has 999 career wins in stints with Anaheim, Tampa Bay and Chicago. He is looking to become the eighth active manager to hit the 1,000-win plateau.

TRAINER'S ROOM

Cubs: INF Kris Bryant missed his third successive game with the stomach flu. INF Addison Russell returned to the starting lineup after missing three starts with a right shoulder ailment.

Cardinals: LHP Tyler Lyons was sent to Single-A Peoria on a 30-day rehabilitation assignment. He is out with a right muscle strain.

UP NEXT

Cubs: RHP John Lackey (3-3, 4.29) opens up a three-game series against Cincinnati on Tuesday in the first game of a 10-game homestand. RHP Bronson Arroyo (3-2, 5.94) will start for the Reds.

Cardinals: RHP Lance Lynn (4-1, 2.75) takes on Boston LHP Eduardo Rodriguez (1-1, 2.80) in the first of a two-game series on Tuesday.

Copyright 2017 by Associated Press. Any commercial use or distribution without the express written consent of Associated Press is strictly prohibited.