This is a bug... In version 0.90 it was fixed, but for this you need to start a new game.
The bug itself is that the health of the bandit increases by 200 when you sleep. As a result, his health can be more than 10k, If you are too lazy to start the game again, just beat him!