you were lucky
Tuviste suerte de encontrarlo.
You were lucky to find it.
Tuviste suerte esta última vez pero necesitas ser cuidadoso.
You were lucky last time but you need to be careful.
You were lucky to be here.
Tuviste suerte porque él no te mordió.
You were lucky because he didn't bite you.