이기다 is beating someone or winning. The -고 in front simply hooks the winning onto whatever came before it: what you used, what you did first, or what you staked. These lines are games, matches and fights — betting everything and winning, gritting your teeth and winning, winning without spending your chances — plus one about beating the summer heat by eating something even hotter.