Many of us would have made the same mistake if we were dumb enough to get into that situation to begin with. On your left is oncoming traffic while on your right is a berm or embankment (whatever).
I would have drove up on the sidewalk yeah but not up the side of a hill.