RulersRulers built temples to demonstrate their devotion to various deities. They also endowed temples with grants of land and money to carry out elaborate rituals, feed pilgrims and priests and celebrate festivals. Pilgrims who flocked to the temples also made donations.