The thing that made Shakespeare write Macbeth was, in 1606, James was the king of England for 3 years, before that he English crowns, a union to which Shakespeare refers to in the play.