You develop courage by acting ...

You develop courage by acting courageously whenever you feel like acting otherwise.
You develop courage by acting courageously whenever you feel like acting otherwise.