William grew up in Waukesha County in southeastern Wisconsin as the oldest of six children. He attended the University of Chicago, where he graduated in 2021 with a bachelor of arts degree in physics and mathematics. After graduating, he worked as an instructor at a math tutoring company.