No, the company gets the revenue from you yourself buying it. The company produces one copy, and you pay the company for one copy. Any trading beyond that, as long as it doesn't involve copying, has no effect on the company that made the game.

Piracy is free, but it's also illegal and, to most people, immoral. Are you going to go down to a Best Buy, grab a copy of FFIX, and walk out with it? It's the same exact thing.