Safety. A cat sleeping in your bed is the best guarantee against snake, rabies/plague carrying rat, etc. making its way unnoticed into the bed. I think that the religion driven prejudice against cats back then was the man reason for the Plagues - i mean all those rats running around in a densely populated city would just not happened if the cats were normally around.
edit: corrected to rabies, thanks :)