If you take $24$ numbers, at least $23$ of them are in $A=\{1,2,\ldots,49\}$. Let $A_k=\{7k+1,7k+2,\ldots,7k+7\}$ for $k=0,\ldots,6$. At least two of the $A_k$'s has four of the chosen numbers, or at least one of the $A_k$'s has five.
Anyway, consider the pairs $(7k+1,7k+6)$, $(7k+2,7k+5)$ and $(7k+3,7k+4)$. This pairs cover the first six elements of $A_k$. The latter case implies that two of the chosen numbers are in the same pair, and hence their sum is a multiple of $7$.
Similarly, the former case implies that in one of the $A_k$ we have chosen two numbers of the same pair, or we have chosen the last number (the one that is multiple of $7$) in both sets.