If you’re going to do pull-ups, do them right!
Instead of doing 3-4 sets of 10 “ugly” reps, do the opposite! Do 10 sets of 3-4 “quality” reps. You’ll get a better training response with less risk of injury.
If you struggle to do a few reps in good form, then work on the eccentric (lowering) action. Here’s how: https://www.theelitetrainer.com/blog/chin-ups-before-and-after-eccentric-training/