It is well-known that if $\mathscr X$ is a finite-dimensional vector space, then any collection of vectors containing more elements than $\dim\mathscr X$ must be linearly dependent.
I am wondering if this result can be generalized to infinite-dimensional vector spaces. Specifically, suppose that $\mathscr X$ is an infinite-dimensional vector space (over $\mathbb R$) and let $\mathscr B\subseteq \mathscr X$ be a Hamel basis. Suppose that $\mathscr Y\subseteq\mathscr X$ is such a collection of vectors that $\#\mathscr Y>\#\mathscr B$ (where $\#$ denotes cardinality). Is it necessarily the case that the vectors in $\mathscr Y$ are linearly dependent? That is, do there exist $y_1,\ldots,y_n\in\mathscr Y$ and $\alpha_1,\ldots,\alpha_n\in\mathbb R$ for some $n\in\mathbb N$ such that $\sum_{m=1}^n\alpha_my_m=0$, yet not all of $(\alpha_m)_{m=1}^n$ vanish?
UPDATE #1: I have looked into this thread. According to a reference therein (Löwig, 1934), if $\#\mathscr X>\#\mathbb R$, then $\#\mathscr B=\#\mathscr X$, so no subcollection of vectors can have strictly greater cardinality than $\mathscr B$. My question is then relevant only for vector spaces whose cardinalities are between those of $\mathbb N$ and $\mathbb R$.
UPDATE #2: Having a closer look at the thread mentioned, if $\#\mathscr X\geq\#\mathbb N$ and $\mathscr X$ is a Banach space, then $\#\mathscr X=\#\mathscr B$, which renders the question trivial in this case, too. That leaves non-Banach spaces.