Heat the oil in a large sauce pan.
Add the onions, carrot and celery and saute until tender, about 10-15 minutes.
Add the garlic and saute until fragrant, a few minutes.
Add the stock, lentils, ham, ham bone, oregano, bay leaf and thyme and simmer, covered on low heat for an hour.
Remove from heat and stir in the spinach.
