At my house in California I once found 2 scorpions on our 2nd floor crawling right near the master bedroom.
One of my German Shepherds got one of the fuckers and he was playing with it in his mouth, droping it and picking it up again.
I think he sensed it would hurt us and was doing all he could to protect us.
He started foaming and we rushed him to the Vets and they gave him a shot and he was ok, just a bit stumbly.
Can you imagine if one of those had crawled in the bed.
Always let your dogs sleep with you.