If you’re going to try and make your medieval fantasy world full of Gritty Realism, then by definition you have to show the positive parts of the time period you’re trying to emulate.
People are very happy to fill their books with bloodshed, homophobia, misogyny, and a nauseating, weirdly voyeuristic (and inaccurate) amount of sexual assault, but are hesitant to touch on the artistic and philosophical legacy of the Middle Ages. Where are the musicians? Where are the frequent church-sanctioned holidays? Where are the innovators and the humourists? Where is your Gritty Realism for the good things?
There are a couple of problems with this whole approach to writing.
1) If you’re apparently going for realism in the first place, why pick fantasy?
2) Given that this is fantasy, why lean on the same prejudices as in our world? You have invented your setting, it’s entirely in your power to change the social dynamics. If you do choose a world with the same social issues that we dealt with (and still do), to what end are you showing those? So your fantasy society is, say, xenophobic…why? If you’re making a point and challenging that view to some sort of conclusion, that makes sense. If it’s there, but not explored, why have it? This is a story, and the rules are different than life. Themes that carry that much weight can’t just be laid on and left there. The issue doesn’t have to be solved, but it can’t be static.