Ancient texts were written to achieve specific goals, such as spreading propaganda or providing comfort to an audience