Examples of using "やってみたが、失敗しただけだった。" in a sentence and their english translations:
I tried, only to fail.
He tried it again, only to fail.