Well, even the AI can do well, if you let it. But I must say that it looks like your tech and culture rates are quite a bit too low for turn 250+, which is probably why Cathy was able to romp to victory so quickly. To avoid this calamity in the future, pump your beakers and your culture, and don't make friends with the culture/tourism leader -- go take their stuff instead!