Holy water for cleaning, through ablution has been applied since the command to pray in the 7th century. While in medical science ocured in the 19th century.
According to surah Qur’an 21:30
اَوَلَمْ يَرَ الَّذِيْنَ كَفَرُوْٓا اَنَّ السَّمٰوٰتِ وَالْاَرْضَ كَانَتَا رَتْقًا فَفَتَقْنٰهُمَاۗ وَجَعَلْنَا مِنَ الْمَاۤءِ كُلَّ شَيْءٍ حَيٍّۗ اَفَلَا يُؤْمِنُوْنَ
It means:And do the disbelievers not know that the heavens and the earth were formerly one, then We separated them; and We made every living thing out of water; then why do they not believe? Prof. Garry Miller is a Mathematical Scientist, he is a convert. Revealing” Think deeply to reveal the beautiful truths in the Qur’an. This is reinforced by the existence of “The big bang theory” From the explanation of QS al-Anbiya’ verse 30 we can understand that the universe began as a lump which then separated, as well as the explanation of the Big Bang theory which states that the universe originally came from a big explosion. which then expands. These two explanations illustrate that the universe began as a single unit and then separated (expanded).Rasulullah said: “Take advantage of five things before five things: (1) Your youth before your old age, (2) Your health before your illness, (3) Your rich time before your poverty, (4) Your free time before your busy time,(5 ) Your life before your death.”
From the hadis above, which is number 2, when you are healthy before your illness comes, it shows that we as Muslims are encouraged to maintain good health, both physically and spiritually.