It is not true.
Let $(R,m,k)$ be a Cohen-Macaulay local ring of dimension $d$ and $N$ isbe the canonical module of $R$. Let $M$ be a CohenMacaulay RCohen-Macaulay $R$-module of dimension $t$. Then, by Theorem.3 3.3.10 of Bruns-Herzog $Ext^{d-t}(M,N)$$\text{Ext}^{d-t}(M,N)$ is a Cohen-Macaulay R$R$-module of dimension $t$.
So if $d-t\gt 0$, then $\dim Ext^{d-t}(M,N) =t =\dim M $$\dim \text{Ext}^{d-t}(M,N) =t =\dim M $