Dear student,
the Water H2O molecules strongly attract each other through intermolecular H bonding which is not present in H2S molecule. water molecule is more stabilized due to strong hydrogen bonding. So the thermal stability of H2O molecule is more.
with regards!