This is a comparison that is meant to indicate how life can be mysterious, and how difficult it can be to understand. It is saying that life is like a language (Sanskrit) that can’t be comprehended by most people, much like how a pony would not understand Sanskrit even if it were read to it.