Cardinals starter Adam Wainwright picked up his first win of the season, in part because he led the offense with three RBIs, thanks to a bases-loaded triple off D-backs starter Patrick Corbin that ignited a five-run Cardinals sixth inning. Matt Carpenter, Matt Holliday and Aledmys Diaz each added two RBIs apiece. Diaz also set up Wainwright's big hit by drawing an eight-pitch walk to load the bases ahead of him.

Cardinals starter Adam Wainwright picked up his first win of the season, in part because he led the offense with three RBIs, thanks to a bases-loaded triple off D-backs starter Patrick Corbin that ignited a five-run Cardinals sixth inning. Matt Carpenter, Matt Holliday and Aledmys Diaz each added two RBIs apiece. Diaz also set up Wainwright's big hit by drawing an eight-pitch walk to load the bases ahead of him.

"That at-bat before I was able to hit a triple was a key at-bat to that inning," Wainwright said. "They probably pitch me completely different if he gets out right there. That's the cool thing about where [Diaz is] at right now. If the first pitch is there, he'll drive it. If it's not, he'll take you deep into the count until he gets a pitch he wants to hit. It's very impressive."

The D-backs scored a pair of runs in the second on a Brandon Drury homer and one in the fourth on Paul Goldschmidt's long ball to take a 3-1 lead before the Cardinals' offense got going with a run in the fifth, five in the sixth and three in the seventh.

"I think we're starting to almost expect something bad to happen when they come in from the bullpen," D-backs manager Chip Hale said. "That can't happen. They're better than that, they all have plus stuff, and they have to let it go and have conviction when they throw it. Right now I'm not seeing that in their eyes, and we're going to work on that, we'll talk about it, and we need to get after it a little more."

MOMENTS THAT MATTEREDWainwright delivers at the plate: Cardinals manager Mike Matheny gambled by letting Wainwright bat with the bases full, one out and the team down a run in the sixth. But Wainwright made the move look genius when he laced a triple down the left-field line to ignite a five-run inning. The triple was the second of Wainwright's career and the first by a Cardinals pitcher since 2012.

"It comes down to I just didn't want to take him out of the game as a pitcher, knowing we had a lot of game left and an offense that could still get something done," Matheny said of his decision to let Wainwright hit. "I think all that put together gave him that opportunity, and he made the most of it."

Corbin roughed up: For the second straight start, Corbin was not sharp, walking five while getting tagged for seven runs over 5 2/3 innings. Over his first three starts of the year, Corbin allowed six earned runs, but in his last two, he's given up 11.

"I felt like I was around the plate," Corbin said. "Some close pitches that just didn't go our way. It seemed to just pile on. I felt like I was throwing better than that."

Two-for-one: Wainwright was the beneficiary of a pair of double plays that helped him out of early trouble. With a runner on third and one out in the first inning, Jedd Gyorko snagged a line drive by Goldschmidt and fired across the diamond to get Jean Segura wandering too far down the line. Two innings later, catcher Yadier Molina started a 2-6-3 double play with a barehanded grab of a ball that bounced in front of the plate.

No magic in sixth: Two nights ago, the D-backs used a nine-run sixth inning to beat the Cardinals, and after David Peralta singled home Jake Lamb with one out in the sixth Wednesday, the D-backs had runners at first and second. Arizona, though, could not capitalize as Yasmany Tomas grounded out and Welington Castillo struck out to end the inning.

"We had our chances," Hale said. "But one of the things we have to be careful about with our offense is we're standing out there on defense for so long. The tempo of the game got bad there. That's something that we've got to work on. Standing out there for so long, it's tough to come in and hit, especially the way St. Louis pitchers are coming after us."

SOUND SMART WITH YOUR FRIENDSWith five plate appearances on Wednesday, Diaz qualified for the league leaderboard. His .468 batting average is tops among all Major League hitters, and he's hit safely in his last seven games. Diaz pulled the Cardinals to within one on Wednesday with his fourth career home run. According to Statcast™, the blast came off Diaz's bat at 107 mph and traveled 440 feet.

"There are a lot of great hitters in the big leagues," Diaz said. "I'm very privileged to be in that spot right now. I don't focus too much on getting two or three hits per game. I just want to go out there and give 100 percent for my team."

UPON FURTHER REVIEWThe Cardinals successfully challenged a first-inning call in which Stephen Piscotty was initially ruled out at second base on a force play. However, the replay showed that shortstop Nick Ahmed never gloved the ball, and the call was overturned.

WHAT'S NEXTCardinals: The Cardinals will close out their seven-game road trip with an 8:40 p.m. CT game in Arizona on Thursday. Michael Wacha, who is winless in three career starts against the D-backs, will draw the start for St. Louis.

D-backs: Coming off his best outing of the year, Rubby De La Rosa will get the start against the Cardinals on Thursday at 6:40 p.m. MST. The D-backs are looking to split the series after losing two of the first three games.