how to power 4 servo with arduino?

hello guys, recently I tried to power 4 servo with arduino to make a robotic arm. I use 5v 5a power supply, but the servo still vibrate and uncontrolable. How can I fix this problem? Thankss

#include <Servo.h>

Servo myservo1;
Servo myservo2;
Servo myservo3;
Servo myservo4;

int potpin1 = 0;
int potpin2 = 1;
int potpin3 = 2;
int potpin4 = 3;
int val1;
int val2;
int val3;
int val4;

void setup()
{
  myservo1.attach(9); //bawah
  myservo2.attach(8); //mg
  myservo3.attach(7); //sg
  myservo4.attach(6); //claw
}

void loop()
{
  val1 = analogRead(potpin1);         // 0-180
  val1 = map(val1, 0, 1023, 0, 180);   // bawah
  myservo1.write(val1);
  delay(15);

  val2 = analogRead(potpin2);         // 70-170
  val2 = map(val2, 70, 1023, 0, 170);   // mg90
  myservo2.write(val2);
  delay(15);

  val3 = analogRead(potpin3);         // 40 - 170
  val3 = map(val3, 40, 1023, 0, 170);   // sg90
  myservo3.write(val3);
  delay(15);

  val4 = analogRead(potpin4);         // 120 - 180
  val4 = map(val4, 120, 1023, 0, 180);   //claw
  myservo4.write(val4);
  delay(15);
}

You should not power even one servo with an Arduino.

Give the servos there own power supply with a common GND with the Arduino.

If that advice does not make sense please make a pencil drawing showing how you have everything connected and post a photo of the drawing.

...R