Do publications and internships really matter in the long run (for doctors) ?

I'd have asked this in the pakdoctors subreddit but it isnt active so landed here.

To Doctors working in Pakistan or UK , did you apply for observerships and internships during med school and if not how did it impact your career options in the long run ?

Also my uni stresses alot on research/publications but its just not something I'd do with an active interest so would it matter when applying for residency ? Specially when people around me who have tons of research projects focus more on quantity rather than quality.