this book went on to sell millions since it served the purpose of not only mahayana buddhism in staking its claim to legitimacy , but also the purposes of any other religion that needed ammunition against the heathen teachings of this indian .