Here I am, an academic in the 21st century who loves the pursuit of knowledge. But put that aside, and my motivations for being an academic could be said to be economic. What kind of motivation was there to be an academic in ancient times? What was the payout? How did they survive?
(I've been wanting to answer this question since it was posted, but I couldn't find the time to formulate a proper response until now. I hope that you don't mind the delay and that you find this answer useful.)
What motivated ancient historians is relatively easy to answer, since they had a habit of explaining why they wrote their work in the first few pages. First though, I'd like to remark that being a historian was not a profession as such in ancient times. The historians we know of were either wealthy enough to spend their time writing (usually at the end of their career) or had a patron who was supporting them. They wrote their works out of interest or to flatter their patron. Usually the work was intended to lead to understanding about current events. Often it had a moral component to it, which sometimes even dominated the work. Xenophon's Cyropaedia for instance is ostensibly a biography of Cyrus the Great, but it is generally understood to give an idealized description, perhaps even to the point of describing an ideal ruler instead of the person Cyrus the Great.
Let's look at what some of the most well-known ancient historians say about their own work.
I'm less familiar with later historians, but this quote is of interest:
Varro's Antiquitates rerum divinarum [a history of Roman religion - ed] of 47 BCE opens with a dedication to Julius Caesar, exhorting him to remedy the neglect of the Roman religion. (Edwards, p. 49)
Livy, too, appears to have written his Ab urbe condita to turn his readers away from the degeneration of his times and towards the virtue of older times.
Works mentioned:
Source used:
[Edit: spelling, typography]