The "Butter" star finalized her own high-profile divorce from Italian aristocrat Tao Ruspoli in October.
Wilde said at a New York afterparty for "Another Happy Day," "I empathize. It's not easy. It's the hardest thing in the world."
She added, "People judge you because divorce is seen as failure. [Kim] took a risk. No one should be attacking her. Our attention should be focused on things that are truly scandalous."