The two 1s electrons in helium are both attracted to the positively charged nucleus. However, because they have the same charge, they also repel each other.