Trying to program 4 servos. THEY WILL NOT RUN ALL AT ONCE. PLEASE HELP

here’s my code. It says somethings wrong but I have no clue on Earth what it’s supposed to mean.

#include <Servo.h>

Servo myservo;

void setup()
{
myservo.attach (3);
}
void loop()
{
myservo.writeMicroseconds (1500);
delay (2000);

myservo.writeMicroseconds (1500);
delay (2000);

myservo.writeMicroseconds (1000);
delay (2000);
}

myservo.attach (1);
}
void loop()
{
myservo.writeMicroseconds (1500);
delay (200);

myservo.writeMicroseconds (1000);
delay (200);

myservo.writeMicroseconds (1000);
delay (3000);
}

myservo.attach (2);
}
void loop()
{
myservo.writeMicroseconds (1500);
delay (2000);

myservo.writeMicroseconds (1500);
delay (2000);

myservo.writeMicroseconds (1000);
delay (2000);
}

what am I doing wrong? Please help me I’ve been trying all Summer

You can only have one loop() function. The code for all servos should be in that one function.

Use code tags when posting your program

It says somethings wrong but I have no clue on Earth what it's supposed to mean....
Please help me I've been trying all Summer

In future, remember it's easier to help if you post both the code AND the error.

THEY WILL NOT RUN ALL AT ONCE

Code which does not compile cannot run. And don't SHOUT, it's rude.

You must use a separate power supply for the servos, or the Arduino will be damaged or malfunction. Connect all the power supply grounds together.

They don't run all at once because you told them not to.
I could tell you not to use 'delay()', but that would be too easy and you wouldn't learn anything.