The Somme offensive of July 1916 was designed to take German attention away from Verdun where the French were being freely massacred.
The problem was that the Germans held the only high ground on a vast plain and saw the whole thing coming.
The only consolation, if you can call it such when you're talking about human life, was that the Germans lost just as many soldiers as we did.