It can be said that to “beat the heat” means to defeat an opponent. In this scenario the opponent would be the heat. If you find a way to escape it then you are winning. In the metaphorical sense that it is used in the phrase, meaning “to evade or escape” it has only been used since the late 1500s.