The lifetimes of magnetic hopfions on a discrete lattice with competing exchange interactions are calculated within the framework of the transition state theory for magnetic degrees of freedom. Three sets of discrete model parameters corresponding to the same continuous micromagnetic model are considered. Minimal energy paths for hopfion collapses were found on the multdimensional energy surface of the system. The activation energies of the collapse processes have been calculated. It turned out that the activation energy differs significantly for the three considered values of the parameters, which indicates the importance of lattice effects on this scale. Along with the collapse, the hopfion escape process through the sample boundary is studied. It is shown that this process does not require an activation energy. The lifetimes of hopfions are found and it is shown that they can exist only at temperatures of a few kelvins and practically cannot be generated due to thermal fluctuations.