What's the exact meaning of the phrase "stand a prayer of doing something"? Could any native speaker of English please explain and provide some examples?

Language (The language you are writing in)