Complete the following sentence.

The wall was built to safeguard the house from waves, as the
wall was resilient against them.