Which brings up an interesting point, often overlooked.
At Chancellorsville itself, Lee's force was less than half the size of Hooker's, and yet Lee suffered more casualties and deaths than Hooker's forces.
22% of Lee's 60,000 troops were casualties = 12,764 including 1,665 killed in action.
9% of Hooker's troops were casualties = 12,145 including 1,082 killed in action.
Numbers & percents change somewhat if you consider the whole Chancellorsville campaign.
By my count, Lee lost two generals killed and nine wounded.
Hooker also lost two generals killed, plus three wounded.
Here is one description:
But he paid a terrible price for it, taking more casualties than he had lost in any previous battle, including the Confederate defeat at the Battle of Antietam.
With only 60,000 men engaged, he suffered 13,303 casualties (1,665 killed, 9,081 wounded, 2,018 missing),[11] losing some 22% of his force in the campaign—men that the Confederacy, with its limited manpower, could not replace.
Just as seriously, he lost his most aggressive field commander, Stonewall Jackson.
Brig. Gen. Elisha F. Paxton was the other Confederate general killed during the battle.
After Longstreet rejoined the main army, he was highly critical of Lee's strategy, saying that battles like Chancellorsville cost the Confederacy more men than it could afford to lose.[75]"
Bottom line: in Civil War battles, attacking forces often suffered disproportionately more casualties and that certainly included Lee:
“At Chancellorsville we gained another victory; our people were wild with delight — I, on the contrary, was more depressed than after Fredericksburg; our loss was severe, and again we gained not an inch of ground and the enemy could not be pursued.”
But he bought time for the South, and under any number of circumstances, the extra years could have resulted in both victory for the South and saving the Union.
As we read the headlines today, we know both were lost.