That was NOT his reason for fighting....He was true to his state of Virginia first and last and hence ended up in the Confederacy rather than the Union
One should be true to your oath first then the state in which you live. Lee took an oath then reneged on it.