Dietrich Buxtehude
In 1707 Buxtehude wanted to retire.  Whoever took his job would have to marry Buxtehude’s daughter, Anna.   Bach and Mattheson were interested in the job but decided not to take it.  Probably they did not want to marry Anna Buxtehude.  Buxtehude died, and the man who had been his assistant got the job and married Anna shortly afterwards.