Ghazali came to their rescue. The way to beat the philosophers, he decided, was to join them enough to use their tricks against them. He plunged into a study of the ancients, mastered logic, and inhaled the treatises of the Greek. Then he wrote a book about Greek philosophy called The Aims of the Philosophers. It was chiefly about Aristotle.