to find a husband for one's only daughter
一人娘に聟を取る - 斎藤和英大辞典
I went to see him only to find out that he was out.
行ってみたがむだ足だった. - 研究社 新和英中辞典
You pass a barrier, only to find another.
関所こえればまた関所 - 斎藤和英大辞典
http://ejje.weblio.jp/sentence/content/Only+to+find