Beat (someone) to the punch

To do something before others do it.

My friend beat me to the punch and arrived at the interview first.