Definition of first law of thermodynamics

1) The total amount of energy in the universe is constant (also known as the Law of Conservation of Energy) energy is neither created nor destroyed in ordinary chemical reactions and physical changes. For further information see Thermochemistry

the internal energy of a system is constant unless changed by doing
work or heating.