According to my book you can’t use for + a verb to express purpose ( Typical mistake: I came to class for to learn English.)
We only use for + gerund to explain the purpose of an object, e.g. This knife is for peeling potatoes.
Use (in order) to, so that, so as to , and for to express a purpose for doing something.
I went to the bank (in order) to / so as to take out some money.
I went to the bank for a meeting with the manager.
I went to the bank so (that) I could pay my friend back.
- For Teachers