It dates back to medieval times, when wine was one of the only drinks considered safe; milk spoiled and water was often polluted, but wine was reliable. To prove that the wine was good, the host would drink a glass first and then clink gasses with the guests as a show of confidence in the safely of the wine.