There is a fragment of Gospel of Matthew (in Vulgata):
(...), esurivi enim et dedistis mihi manducare, sitivi et dedistis mihi bibere, hospes eram et collegistis me (...)
My question is: Why exactly are "esurivi" and "sitivi" used in perfect form, but "hospes eram" is used in imperfect?
From what I learned, perfect is used for the activities that took place at some point in the past and they are finished by now. On the contrary, imperfect is used to indicate the ongoing processes, which I think is more suitable for above use cases and is used in "hospes eram", but not in "sitivi" and "esurivi". Why is that?