Marry me or my brother

#1

Tang Youyou was told that she can pnly marry one of the brothers

#2

What kind of ancient curse is this?