How do you determine which atom within a group has the greatest attraction for the electrons in a chemical bond?

For example: hydrogen oxygen silicon sulfer

the first thing to determine the atom in a group having most attraction for the electrons in a chemical bond is its $E L E C T R O N E G A T I V I T Y .$