You're describing The Hunger Games (2012), based on Suzanne Collins' novel. In a dystopian Panem, the annual "Reaping" lottery selects one boy and one girl from each of 12 districts to fight to the death in a televised arena. The protagonist, Katniss Everdeen, volunteers for her sister—sparking a rebellion. The "lottery to kill" premise is the franchise's central hook.