In the dream, the snake indicates disaster, misfortune, difficulty, frustration, financial bankruptcy, etc.
You were bitten by a snake in your dream, which means that you will be hurt by one of the above in reality.
You finally killed the snake.
It means that you finally got through the predicament or turned the situation around after paying some price.