Sadly, not everyone has your best interest at heart. Venting is normal and necessary to our sanity but try to choose people who love and care for you. Never vent on social media. Never vent to coworkers. Don’t vent to people who are acquaintances.
Save venting for a time when you can truly be heard and supported by someone who you know will be able to that.
If you don’t have that kind of person in your life then see a counselor. A therapist will never turn around and tell anyone else or make your life more difficult because you shared personal information.
May you be happy and well.