Triathlon is expensive! How do you cope with the prices?

How do you afford triahtlon as a hobbie? I feel everything you I look at is $100, $200 , $400. Do you use discount codes? Do you know people? Hit me with your tips and tricks to spend less!