Detailed Instructions: Generate a correct and concise answer for the question based on the words in the context.
Problem:Context : William II, Count of Hainaut (1307 -- 26 September 1345) was William IV of Avesnes, William IV of Holland and William III of Zeeland from 1337 to his death, succeeding his father, William I. He married Joanna, Duchess of Brabant and Limburg in 1334, but had no issue.
Question : What is William II, Count of Hainaut's spouse's name?
Solution:
Joanna, Duchess of Brabant