Why was King David not allowed to build the Bet Hamikdash?