Let's say a pet owner leave his dog inside for a whole day because of a trip. The owner returns to find that the dog has peed on the furniture. Is the dog seeking revenge?
I agree, dogs have no concept of revenge, they do however develop abandonment issues and anxiety when left alone.
I have a springer and cannot leave him for any longer than 4 hours because he then becomes very distressed. They are social animals and do not like being left on their own, but often our lifestyles clash.
Dogs do not have a concept of "revenge". Their mental processes revolve primarily around the "pack" identity: one member of the pack is the alpha, and all have their places in a distinct pecking order. (For owners that aren't mindful of this psychology, the dog usually believes itself to be the alpha.)
If your dog is fully housebroken, it probably held its bladder for as long as it could stand to (and likely experienced a feeling of failure when it couldn't hold it any longer).
If the dog's house training is not complete, then it should come as no surprise that it couldn't go all day.
Dogs live in the moment. They don't really have a concept of time. They are not capable of analyzing a situation and deciding that you are deliberating leaving them and they need to get revenge because you are late and need to be punished. More likely, you went beyond the dog's bladder capacity and it had to relieve itself. If a dog chews and destroys something, it is probably because they got bored and hungry.
I think some dogs are intelligent enough to seek revenge. I have a female dog that if I lock her out of my bedroom where she normally sleeps she will poop right in front of the bedroom door. She can easily go outside because we have a dog door. Examples when I had my boyfriend spend the night and I would lock her out of the room she pooped right in front of the door. She was 3 yrs old. Today I was changing the bedding on my bed and cleaning my room, she kept trying to come in to jump on the bed so I locked her out of the room. When I opened the door she had pooped in front of the door. She is 12 yrs now. This is the only time she has pooped in the house.