Ki Tetze: Chapter 19
Forty minus one

We are told that God will strike Samael fifty times for turning himself into a deity, and that Adam and Eve and the serpent and the land were given a total of 39 stripes because they all sinned against the letter Hei.