put down to

中上級 (B2) neutral

To say that something happened because of something else.

"She put her success down to years of hard work and a little bit of luck."