Heat oil in a skillet over medium heat. Add onions and cook for 8-10 minutes, until browned. Add garlic, salt, pepper, thyme, rosemary, oregano, chili pepper and tomato paste. Cook for 3 minutes, until fragrant.
Add all remaining ingredients except for the spinach. Stir to combine and bring to a simmer. Cook for 15-20 minutes. The longer you cook it the more flavorful it will become but 15 minutes is sufficient.
Turn off heat and fold in spinach. Divide out and serve.