The are designed to handle huge amounts of water. Look at [https://www.quora.com/Can-rain-cause-a-jet-engine-to-flame-out](https://www.quora.com/Can-rain-cause-a-jet-engine-to-flame-out) for the test image of a jet engine and water.
A jet engine can perform better with water the just dry air. [https://en.wikipedia.org/wiki/Water_injection_(engine)](https://en.wikipedia.org/wiki/Water_injection_(engine)) has been used historically to get higher energy performance. You can use more fuel without them overheating. The mass of the exhausters also increases and you get better trust. So some jet airplanes from 1950-60 was designed with water tanks and an engine water injection system. Early Boeing 707 and Boeing 747 use that. B-52 bombers still have that, the engine they use are very old just like airplanes.
It is not just jet engines, water injection is possible in internal composition engines in a car too. Some WWII prison engine fighters did have water injection.
It is not always just wate but a 50-50 water and alcohol mixture is common
Latest Answers