have somebody/something to thank (for something)
US /hæv ˈsʌmˌbɑːdi/ˈsʌmˌθɪŋ tə θæŋk (fɔːr ˈsʌmˌθɪŋ)/
UK /hæv ˈsʌmˌbɑːdi/ˈsʌmˌθɪŋ tə θæŋk (fɔːr ˈsʌmˌθɪŋ)/

1.
要怪就怪, 歸咎於
to be grateful to someone or something for a particular outcome, often a negative one, implying that they are responsible for it
:
•
You have yourself to thank for this mess.
你要怪就怪自己造成了這場混亂。
•
If we miss the flight, we'll have him to thank for it.
如果我們錯過了航班,那都是他的錯。