No, sympathy is feeling sorry for someone. Empathy is being able to project yourself in someone’s situation to understand their feelings.
I am not a very sympathetic person, but I have gotten better with empathy with practice. Of course, I am not perfect with it, but have improved greatly.