They do that by building a large number of desalination plants.
Desalination plants is a technology that able to create reverse osmosis process to remove the salt contained within the water. With this technology, united Arab emirates could transform the water in red sea into drinking water for consumption.