Technically you are wrong... the earth will run out of heat. The laws of thermodynamics dictate that it must be so. In fact the geothermal activity in Iceland is an example of the earth loosing heat energy. Everything tends towards entropy, eventually the whole universe will loose all of its heat. I do get what you meant though, I am just being pedantic. 🤣