Most pirates "pirate" gigantic amounts of games, way more than they would even consider actually playing. Most of them are not real customers that would otherwise have bought. There is still some advertising to be gained, people although not paying customer that get excited about a game and talk about it may lead others to buy it. It helps create excitement, which is good as developers want to sell their game at release, not from a bargain bin a year later.