Another way to say "A person can thank god" is "God can be thanked by people."