To determine if a reaction is endothermic or exothermic, we compare the total energy required for bond breaking with the total energy released for bond forming
In the reaction of hydrogen with oxygen to form water, we need to break two hydrogen-hydrogen bonds and one oxygen-oxygen double bond, while forming four O-H bonds