Pretty sure that pertains to the New Testament (e.g. Paul), not the Pentateuch. I don't know the exact timeline, but I don't think the ancient Greeks as we know them were a factor when the Old Testament law was written.
There’s some decent evidence that the Philistines were Greek, although they would have been Greeks before the period when Greeks wrote much about pedastery so your point probably is still valid