German is not my native language but I have a lot of experience with it. To translate "because of what he said", I feel like I should say "wegen dem, was er gesagt hat" instead of "wegen dessen, was ...