what motivated Shakespeare to write The Tragedy of Macbeth?

Money? The need to make a living?

Or check this site.

http://www.sparknotes.com/shakespeare/macbeth/context.html