Building and breaking polymers
Proteins, polysaccharides, and nucleic acids are polymers made from smaller subunits. During dehydration synthesis, atoms removed from the reacting subunits form water as a new covalent linkage forms. During hydrolysis, components of a water molecule become attached to the products when a bond is split. Enzymes usually facilitate these reactions in cells. A straight chain of n subunits connected by one linkage between each neighbor contains n−1 intersubunit linkages. Lipids are a diverse category and are not generally polymers of one repeating monomer.
Joining five amino acids into one unbranched peptide creates four peptide bonds in the simplified dehydration model. Completely hydrolyzing that peptide uses four water molecules to split those bonds.
Hydrolysis does not mean adding hydrogen gas. Also, do not claim that breaking a chemical bond itself releases energy: bond breaking requires energy; overall reaction energetics depend on bonds formed as well.