In real life, walls will sit on footings, which will be stepped to follow the fall of the ground. That's how I would model them.
However, if you want a quick cheat, just take the base of the walls down past the mesh, then do a solid element operation to cut off the bottom of the walls.
Bruce Walker Barking Dog BIM YouTube Mindmeister Mindmap -- since v8.1 -- AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb