Huésped, the common Spanish word for “guest,” has an English cousin: hospitable. This might not be obvious at first since the ‑o- morphs to the ‑ue- and thus changes the sound completely but both come from the Latin hospes which means the same. We can see the mapping of h‑s-p clearly in both.
In the same family is hospital. Yes, patients in a hospital are just guests, as though it’s a hotel!