Greeks didnt invent philosophy, technically. The western tradition, maybe, but not the whole itself. And most of them, Socrates included, talked about thw gods a lot of the time. In fact, socrates's way of living a good life is, more or less, the same idea behind the christian heaven and hell concept. the only thing that really changes is, once most philosophers become theologians, they develop advanced theories in trying to explain away the Trinity or the Eucharist.