Karma...

Your example looks more like someone having the same fault (indirectly) they criticize others for rather than this happening because of the fact that he criticized you. As for getting what you deserve, yes I believe in that; if not in this world, then in the next for sure.