Two atoms with same electronegativity or similar electronegativity can form a covalent bond.
For example, \(2 H\) atoms combine to form a covalent bond in hydrogen molecule.
Also, one \(C\) atom combines with \(4 H\) atoms to form four \(C - H\) covalent bonds in methane.