Because it was day centuries ago when human first had contact with a snake. The human accidentally disturb the snake. The snake, on the intention to defend himself, attack the human. It could either be a venomous or a tight-grip snake, but since then the information about the danger of the snakes spread wide.
However, the technology and knowledge growth over medicinal science revealed that snake venom could also be helpful for human.