Usage of commit: I commit to provide high quality service to our customers.

Respected Teacher,
Which of the following sentence is correct?

  1. I commit to provide high quality service to our customers.
  2. I commit to providing high quality service to our customers.
    Thanks,
    Er.S.M.M.Hanifa

The second sentence is correct, I commit to providing…
because in this case to works as a preposition as the verb to commit requires the use of to when it’s used with the idea of being responsible for something, because when you commit you commit to something like for example

He is committed to his studies.

Hi Hanifa…

I think that first syntax is correct in grammar.