He didn't think Lady Luck was on his side -- and now he's out millions.

A hapless state information-technology worker who usually joined his office lottery pool took a pass last week -- only to learn that seven positive-thinking pals nailed a whopping $319 million Mega Millions jackpot, said a deli owner who knows the winners.

"The word is that when they were going around the office asking who wanted in on the pool, one guy said no, that he wasn't feeling lucky," said Jill Cook, who with husband Tom owns Cook's Deli in Albany, where the winners are lunchtime regulars.

"They asked him twice. They said, 'Are you sure?' and he said yeah, he was going to pass this time. I feel horrible for him," Jill said.