Bible Trivia Question for Wednesday 08/23/2017

King David planned to build a temple to God. God told me in a dream to tell David no, I went and did what God told me. King David accepted this. Who am I?