If you have two hydrogen atoms with electrons with similar spin, they will cause repulsion and do not bind. If you have two hydrogen atoms with electrons with opposite spin, they will attract and bind and stay together.
If you have two electrons they will cause repulsion and do not bind, stay together. If you have an electron and positron they will attract and ‘bind’ and ‘stay together’ as a photon.