Which is a different problem than your original comment. The ‘what to do with the brine’ is more or less covered by the article you linked. It’s not an unsolvable problem.
And the energy problem is what the original article is about, using solar energy.
Evaporate the brine and sell/use the salt?
dye it pink and sell salt lamps
Concentrate it into massive hard blocks and put them on barges in the ocean to dissolve slowly in the mist and rain
Both the RO and thermal methods are energy intensive, thus adding to climate change, thus adding to water scarcity,
Which is a different problem than your original comment. The ‘what to do with the brine’ is more or less covered by the article you linked. It’s not an unsolvable problem.
And the energy problem is what the original article is about, using solar energy.