Wash the spinach thoroughly and remove any excess water.
Finely chop the onion and garlic.
Beat the eggs in a bowl and season with salt and pepper.
Heat olive oil in a pan and sauté the onion and garlic.
Add the spinach and cook until wilted.
Pour the eggs over the sautéed ingredients and spread evenly.
Cover with a lid and cook on low heat.
Once the eggs are fully cooked, cut into pieces for serving.