For all (something)

In spite of something, even with something.

For all the time that the boy spends studying, his marks are very low.