This is incorrect. Almost all primary energy is turned into heat eventually. Only a microscopic fraction is turned into light that escapes into space.

The stored potential energy of a concrete block on the 15th floor of a building takes a very long time to turn back into heat.