MeArm not working when I attach() more than one servo

and I am powering the servos (through the breadboard) with a 9V battery

That's a completely inadequate power supply for servos.

Budget 1A per servo and give them 6V.

Small 9V batteries are struggling to provide even 0.1A, let along 4A for 4 servos...