Why wasn’t David allowed to build the temple?