Answer
(Fatwa: 1117/1117=M/1429)
Your decision of giving three divorces is wrong. If the wife faces sexual problem which can be cured then get her treated. If she is morally unwell, then try to solve the matter by convincing and mutual understanding. However, if you have tested all the ways and she is unable to fulfil your sexual needs and the matter had reached to an unbearable point then you should have second marriage and keep the first wife as well. But, if you can not afford two wives financially then give her one Talaq and get separation from her. It is sin to give three talaqs unnecessarily.
Allah (Subhana Wa Ta’ala) knows Best
Darul Ifta,
Darul Uloom Deoband