Either way, you'd die nonetheless, because with ice cold water being in freezing water for long periods of time will eventually make you have hypothermia which you could die from, and drinking boiling hot water will make your insides get all blistery and swollen which could eventually block your airways from your throat being to swollen to breathe probably, causing you to die from suffocation
Either way, you'd still die