Preheat the oven to 350°F.
Coat the bottom of an oven-safe pan with the olive oil.
Add the diced onion and sauté for about 10 minutes.
Then add in the garlic and stir.
Add in the tomato paste, diced tomatoes, lentils, and water, season with salt and pepper, and stir well.
Place in the oven for 45-50 minutes. Check on the lentils around the 35-minute mark and add about a quarter cup of water if they look dry.
Take the pan out, make 4 "wells" and break the eggs into the wells.
Return to the oven and bake another 12-15 minutes, depending on how soft or firm you like your yolks.
Taste and add more salt and pepper if needed, then garnish and enjoy.