Yahweh told David that he would not be the one to build the house because of all the blood that was shed.