I’m just here thinking about how the strategy in ww1 was to throw as many soldiers as you possibly could at the other sides trenches, that you would eventually defeat the defenses. Even if you lost 40,000 soldiers in the battle. Men would have to WALK across fields of barb wire, snipers, exploding shells, gas, flame throws. Craters then could fall In And die from the mud. My understanding of the civil war is there was tons of deserters, they would run away from the front line and ww1 was way worse. How did they motivate the troops to go make those death walks. Surely the first round all knew they were dead. We talk about how scared our soldiers were storming Normandy. I never hear anything about the soldiers and bravery in ww1.
While there are several cases of mutiny from the ranks specifically because of the conduct of the war, the problem with bringing them up as an answer to your question is that you're starting from a position that's very much based in myth. Thus, it has to be addressed first.
I also highly recommend the appropriate section of the FAQ, especially the Trench Warfare subsection, because quite frankly, it was nowhere near like "throw as many soldiers as you possibly could at the other sides trenches, that you would eventually defeat the defenses".