I don't think it's bad that you can sympathize with someone's situation! Actually, when I meet someone or talk to someone who has gone through something similar I feel relief because they know what I'm going through.
You're not doing anything wrong! Just by letting someone know that they're not alone can do loads!