Ag+H2S = Ag2S+H2
but how can silver displace hydrogen as hydrogen is more reactive thann silver
Though this can be an exception to the reactivity series, some times factors like reaction conditions & activation energy may lead to such reactions.
In alcohol, Hydrogen is displaced by sodium because sodium is more reactive than hydrogen