If you want to see how the terrain was created for the example above, you can find it here for Blender 3.
Terrain construction
Cheers, gryff