That doesn't matter at all. I can't steal something from you, then auction it off and say "All good, I gave the money to charity!"
Especially when I can then write of that donation from my taxes on top.
What you do with the money after selling it doesn't actually matter.