Complete the following sentence.

As the walls began to cave in on Joseph, he thanked Craig who had sold him the house because
Joseph had narrowly escaped due to his advice.