Answer:
Both were anointed as kings by Samuel, both started their reign well both fell astray. But David repented after Nathan pointed out to David that he had sinned greatly. Saul did not listen to god. David wanted to build the temple but god was against it as he had blood on his hands, so king Solomon built it.