By attending martial arts classes you'll become accustomed to direction and structure. In this environment you have to pay attention to the task at hand and rid your mind of distractions.
It's also crucial to realize that achieving your martial arts goals depends on you. No one else can do it for you. This promotes self-reliance and independence!
You're the one who needs to put in the work to improve and grow. To be your best, you need to be dedicated and put in the required effort.
As you progress you'll gain self-discipline that will be beneficial in every other aspect of your life as well.