There is a balance to this. If you always only listen to others and never speak about yourself, you fail to build connections with them (because they know nothing about you). I had the opposite problem, I made every conversation about them and had to learn to change that in order to be able to make friends.
But you are right; there is a balance, people that only ask about me and don't tell anything about themselves won't work either. Personally, the preferred route is to just quickly find common ground and go do something. Can be anything.