The resources for the campaign would have been better spent on Virginia soil
Lee and Jackson were masters at maneuvering their armies and baiting their enemies to attack them on their terms on favorable ground. When they did seize the initiative, it was because they had divided a large force into a smaller more vulnerable force.
Lee forgot what he was good at Gettysburg. He threw his army at well entrenched consolidated forces on high ground. A mistake Grant would repeat with equal disaster at Cold Harbor.
Lee didn't have to win that war, he only had to not lose it. He lost the war at Gettysburg. His ego got the best of him.