The character Q was fascinated with humanity and was at the start and end of Generations series. He pretended he hated our life form but protected it when it was needed.