What are the three things that instinctively keeps us from working out?

I heard someone talk about three things our brain wants for us, but I can’t remember what those three things were.

I think it’s something about being comfortable, avoiding pain, and keeping us safe? And if so, how do we train our brain to accept pain, hard work, and uncertainty?