Josh Katrick was one of 1200 individuals to enter the opposition set up by a family pizza eatery in the US condition of Pennsylvania.
Mr Katrick, who has colon disease, discovered he had been arbitrarily chosen as the champ by email as he was leaving the facility after a session of chemotherapy.
"I left there considering, 'I simply won pizzas for a year! That is cool!' he told nearby news channel 69 News.
He said he was motivated to pass his prize on to Northampton Food Bank by the bolster he had gotten from others amid his treatment.
"I've been getting such a great amount from family, companions, individuals I don't know well, the most recent couple of months," he told the supporter.
"Getting so much love and support … I simply needed to offer back to individuals that could utilize it more than I could."
When they knew about his arrangement, Mario's Pizza said they would twofold the prize – initially two free huge pizzas and a jug of pop every month in 2017 – so both Mr Katrick and the sustenance bank can appreciate it.
"It's ideal to give than get, and particularly amid this season of year – Christmas – it's an extraordinary time to consider that and see cases of it around town," said Giuseppe Aiello, who works at the pizzeria.
In September, a couple from Michegan chose to give a comparable prize of a voucher for $500 (£400) worth of pizza to a destitute asylum for youngsters.
Ms Spooner said she knew quickly after they won the voucher that she needed to give it to a decent aim. She told Fox 2: "I knew immediately we would give.
"I simply know there are individuals out there who have nothing. Why would it be advisable for me to eat a year of free pizza when there are individuals out there who go hungry around evening time?"