A habit is good if it helps you achieve your goal; it is bad if it hinders your achievement.
or simply: