Heat olive oil in a wide skillet over medium heat.
Add the chopped onion and cook for 4–5 minutes until soft and lightly golden.
Stir in the garlic and cook for 30 seconds, just until fragrant.
Add thyme, oregano, and parsley. Stir briefly to warm the herbs.
Pour in the lentils and vegetable broth. Stir once and bring to a gentle simmer.
Cover the skillet and cook for about 25 minutes, or until lentils are tender.
Lower the heat and stir in the cream or coconut milk.
Add spinach a handful at a time, letting it wilt into the skillet.
Season with salt and black pepper. Taste and adjust as needed.
Serve warm on its own or over rice.