to pledge oneself to do sth.

Wörterbuch