What thermal energy sources actually exploit is temperature difference, not heat. And in the end that difference averages out.