How can I regain my confidence?

It’s been a few months since someone in my life got in the way of my happiness and confidence. I used to be interested in things that brought me joy. It was quite obvious at the time that this person did not enjoy seeing me live lavishly and be happy with what I surround myself with. They would say negative things to me or about my lifestyle, but then shortly after they would start finding interest in those things and then pretend they never thought anything negative about it. They have truly drained my energy, and since then they have convinced me that the lifestyle that once brought me happiness is something to be ashamed of. I am slowly trying to get myself back on track with the things I love and doing it unapologetically, but I am afraid that their negative perspective of me will get in the way again. I understand that there is that narrative of throwing people out of our lives who are like this however, I can never bring myself to do such a thing to someone. They have expressed to me that they are aware of their behavior and it sounds like that behavior comes from unresolved issues they have within themselves. I have reassured them that is possible to have a heart to heart with oneself to recognize what steps to take to heal from internal hurting. How do I deal with maintaining my happiness without letting them get in the way of feeling content?