We give an algebraic criterion for certain sequences (Gn)n∈N of groups to have Kazhdan's property (T) eventually. As a consequence, we prove that the Brin--Thompson groups nV have Kazhdan's property (T) for large n. The algebraic criterion provides a uniform proof that nV, Aut(Fn) and ELn(R) for a finitely generated associative unital ring R have property (T) for large n. In an appendix, written by Francesco Fournier-Facio, it is shown that the group nV for large n is neither hyperlinear, in particular not sofic, nor MF. Further, it is not Schatten p-approximable for any 1≤p<∞.