If you back you pet into a corner it will feel threatened and attack you.  Children are bitten by their pets all the time.  And most the time they backed the pet into a corner or made the pet feel threatened.

Kids pull their pets ears, tails, legs, or anything else they can grab all the time and are never bitten.

A friend was about to have one of her pets put down because he bit his son. He didn’t attack him he just bit him he didn’t even break the skin.

The dog stays outside, but was in the house in the bathroom when this particular incident happened. The dog was cornered and reacted like any animal would do including humans. Read why you never back your pet in a corner.