Who built the first great temple?

Solomon. God told David he , David, had shed too much blood. This was not sinful, God had commanded his wars. But it is a matter of fittingness.