"Due to ~, a good result occurs (thanks to) / a bad result occurs (because of)." … does not take sentences expressing desire, intention, or urging.
例:
1. いい会社に就職が決まったのは先生のおかげです。ありがとうございました。
I got a job at a good company thanks to my teacher。 Thank you very much。
2. 天気のいい日が続いたおかげで、工事が早く終わった。Thanks to the continued good weather, the construction finished early.
3. 最近忙しかったせいで、かなり疲れている。I'm quite tired because I've been busy recently.