Sometimes people are having a bad day. Sometimes someone has a different view of 'good' than you. Sometimes someone just got served divorce papers that morning out of the blue. And none of that you can control, or even do much to influence many times.
However, being aware that having others value the output you produce gives you things that benefit you - like help pay the rent - in combination with other factors, and is therefore important to you. But it's different.
Looking at your work and being able to judge yourself if you did a good job, is healthier, and more productive. If you're seeing that others judge the value of it differently, it's worth investigating why.
There may be something you're missing (different values, or they don't like your face, or they hate the language it's in or the style, or they haven't been laid in years, whatever).
If it is something you can adjust, it may be worth doing so. If not (or not worth it), it may be worth finding somewhere else with different values. It may also be worth adjusting your judgement of your work based on those factors, IF you think they're valid and it will improve things in your favor. Sometimes, it's worth just writing off the feedback or defending yourself, because it's coming from a toxic place from them.
But if you do this, they won't be personal attacks, because it isn't about you (as in who you actually are), because they can't know the truth there anyway. People don't work that way.
It will be about their perception of the value of what you produce to them, or their perception of you. Which is not up to you (directly), but you can influence it, and often has little to do with who you actually are and more to do with specific things you can concretely do a bit differently and change.
Does that help?