Rinse and soak the black eyed peas overnight.
In a large pot, heat a splash of oil and sauté the onions until translucent.
Add the minced garlic and cook for an additional minute.
Stir in the soaked black eyed peas, chicken broth, ham hock, thyme, bay leaf, and red pepper flakes.
Bring the mixture to a boil, then reduce heat and simmer for about 1-1.5 hours.
Once tender, remove the ham hock and bay leaf; shred the meat from the hock and return it to the pot.
Season with salt and pepper to taste, adjusting as needed.
Serve hot, garnished with fresh parsley if desired.