endeavor to (do something)
To work to do or accomplish something. After spending years endeavoring to earn my degree, today is my graduation!
endeavor to do something
to try to do something. Whenever I endeavor to console her, she breaks down again. Maria endeavored to comfort Henry.