She bore two sons who both died in infancy , but by the time she was about to give birth to their third child , her husband lay dying at Falkland Palace .
She was unmarried for all of her life and had no children .