to pledge or dedicate oneself to something
"She decided to commit to her studies for the upcoming exams."