That is absolutely not true and a lie. Confederate soldiers has to pay for supplies the bought in towns the marched through. They did not raid and pillage at all. They couldn't, under orders they would have been punished. An contrary to popular myth confederate money wasn't worthless in the North. It could be exchanged for green backs (as low as .25 on the dollar at the end ) or bartered for things like tobacco. If you did deep and read actual letters from soldiers you can get true picture that most historians seem to not care about or overlook.
I read one letter form a guy in Ewell's corp that talk about Pennsylvania and the shop keepers he dealt with. Confederate soldiers had to stack arms in camp and were not allowed to go armed into any town, North or South. Did you know that? Only officers carried side arms in town. Anyway this guy buys honey in store in Harrisburg and almost gets into a fist fight because the shop keeper called him a Tory. He also called home a reb and other names and that didn't bother him but being called a Tory was way over the top.
You're talking about Lee's Gettysburg campaign only, there were many others with no such orders.
But even at Gettysburg Confederates kidnapped any freed blacks they could for sale in Confederate slave markets.
They also destroyed:
"During the early days of the 1863 Gettysburg Campaign, a Virginia cavalry brigade under Brig.
Gen. Albert G. Jenkins occupied the town and burned several warehouses and Cumberland Valley Railroad structures and the bridge at Scotland."
All that was before Confederates returned in 1864 to burn the entire town.
Plus, I'll repeat, Stuart paid nothing for the wagon train loads of stuff he scarfed up in 1863 when he should have served as Lee's eyes & ears.