The Chicago Cubs snapped a five-game losing streak Thursday behind three home runs and the pitching of Jake Arrieta. Luis Valbuena and Nate Schierholtz each hit home runs off Kyle Lohse to pace the Cubs to a 5-1 win at Milwaukee. Valbuena's first-inning homer landed in the upper deck in right field and Schierholtz hit his 21st homer a two-run shot into the right field bullpen in the third. Brian Bogusevic added a pinch-hit home run in the ninth. The Cubs who entered the game with a major league-worst .218 batting average with runners in scoring position loaded the bases with one out in the second but Arrieta struck out and Starlin Castro grounded to second. Arrieta allowed only three hits stuck out five and had a shutout until the seventh when Carlos Gomez hit his 21st home run. Catcher Welington Castillo left after grounding out in the top of the sixth because of right knee soreness. The Cubs return home to open a homestand Friday against National League East leader Atlanta.