We must take care not to refer all the merits of the saints to the Lord in such a way as to ascribe nothing but what is evil and perverse to human nature, in doing which we are confuted by the evidence of the most wise Solomon, or rather of the Lord himself, whose words these are; for when the building of the temple was finished and he was praying, he spoke as follows: ‘and David my father would have built a house to the name of the Lord God of Israel: and the Lord said to David my father: Whereas thou hast thought in thine heart to build a house to my name, thou hast done well in having this same thing in thy mind.’ This thought and purpose of King David, are we to call it good and from God or bad and from man? For if the thought was good and from God, why did He by whom it was inspired refuse that it should be carried into effect? But if it is bad and from man, why is it praised by the Lord?
St. John Cassian