Like the statues of Romanesque and Gothic cathedrals portraying events from the Bible , the carvings were intended to be read like a book by those who had no access to the scriptures , which were at that time reserved for the Brahmins .
These sculptures were intended to teach morality to peasants .