You have to boil the water to make the beer.
However I dove into it, Boiling wasn't always easy, so they didn't always heat it properly for sterilization: https://byo.com/article/raw-ale/.
In old times, a metal vessel large enough to boil an entire batch of wort may not have been feasible. Other techniques were used in these cases.
Say you have a wooden barrel or tub:
* Take off a portion of the wort, boil it, and add it back. This is decoction.
* Heat rocks and add them into the wort.
Define 'old times'?