Staying Motivated for Endurance When Progress Is Slow

I’ve been working on building my endurance for climbing, but some days it feels like I’m not getting anywhere. How do you keep yourself motivated when the progress isn’t obvious?