The planet is not a closed system, there's a never ending stream of energy coming from the sun, so...