As Yankees starting pitchers keep getting rocked, the one that got away continues to shine.

Patrick Corbin — who rejected the Yankees for a richer deal with the Nationals last winter — exited Wednesday night’s game against the Rockies after striking out seven and giving up three hits and walks each in six shutout innings. In his last seven starts, Corbin is 2-0 and has whiffed 57 in 45 innings.

He has given up just eight runs, 35 hits and eight walks during the same time frame, and entered Wednesday’s start with a 7-5 mark and 3.40 ERA in 20 games overall for surging Washington.

Meanwhile the pitcher-starving Yankees have seen their starters give up six-plus runs in each of their last starts. Shortly after Corbin ended up in Washington, the Yankees brought back J.A. Happ, who lasted a season-low 3.1 innings Wednesday night against the Twins after surrendering six runs on six hits. Happ is 8-5 on the season, but is struggling now and saw his ERA rocket to 5.23 in the Yankees 10-7 win in Minnesota.

All signs pointed to the 30-year-old Corbin signing with the Yankees last winter. There were his upstate New York roots, and the report his brother wore a Yankees cap while delivering his best-man toast at the lefty hurler’s fall wedding

Instead, Corbin chose a six-year, $140 million deal with Washington, and with every start, is proving that perhaps the Yankees should have offered the same.