Yes, during their last 34 games, they play Colorado and San Francisco 9 times. Those teams are currently 2nd and 4th in the league.
But the Dodgers OTHER 25 games in that span are against the bottom four teams in the league: Pittsburgh, Arizona, San Diego, and Washington. All teams that should be, by that time, more or less going through the motions.
Of course, this also means their July and August is going to be pretty challenging.