Declaring something to be a contradiction because you don't like the conclusion they came to is not the most compelling argument.
In this case, thinking all of reality is material implies that you cannot believe your thoughts, including the thought that all of reality is material. But that was your original belief, meaning through your own worldview you've reached a contradiction.