Actually it was more like Henry VIII wanted a male heir, his first wife was infertile and he already had an illegitimate male son so there was no problem for his fertility. Ann Bolyn was already pregnant and he needed a speedy divorce so he could marry and have a legit son (though she turned out to be Elizabeth I instead). Thus he changed the entire course of history and religion to ensure he had a male heir, by which he succeeded in the third wife, who died due to the childbirth. Unfortunately, his efforts ultimately failed as we know of Bloody Mary's reign and Elizabeth I's since Edward's (don't know his number) reign was fewer than a decade as he died from...TB I think. Or Typhoid. His reign was short nonetheless and women ruled Britain for a long time against the now dead Henry's wishes.
Similar to a midlife crisis, but a lot less...silly in terms of consequences.