In ancient India, wealthy Buddhist merchants and patrons funded the construction of stupas, temples, and elaborate cave sculptures to earn spiritual merit and show devotion. This financial support from the wealthy elite allowed Buddhist art and architecture to flourish along major trade routes.