If only we could have had this back then, it would have been good
"If only we could have had this back then"=「もし当時、私達がそれを持つことができていたならば」
"it would have been good"=「それはよかったのに」
または、"things would have been better"=「状態はもっと良かったのに」
または、"we could have used this (and then things would have been better)"=「私たちはこれを使うことができた」