Yes, you need coprime.
Theorem. Let $a$ and $b$ be integers such that $a\nmid b$. If $\gcd(a,b)\gt 1$, then there exists $c$ such that $a\mid bc$ but $a\nmid c$.
Proof. Let $d=\gcd(a,b)$; then we can write $a=da'$ and $b=db'$, with $\gcd(a',b')=1$. Let $c=a'$. Then $ba'= db'a' = da'b' = ab'$, so $a|bc$. However, $a$ does not divide $a'$, since $a'\lt a$ (because $d\gt 1$). $\Box$
So absolutely nothing short of "$a$ and $b$ coprime" will allow you to go from $a|bc$ to $a|c$. If $a$ and $b$ are not coprime, then there always exist values of $c$ that make the antecedent true (that is, $a|bc$), but the consequence false (that is, $a\nmid c$).
As to what you present: First, that $7$ is a linear combination of $a$ and $b$ does not, by itself, mean $\gcd(a,b)=7$; it means $\gcd(a,b)$ divides $7$. And you cannot go from $a|7c$ and $a\nmid 7$ to $a|c$; that is, after all, what you claim to be trying to prove, and you cannot when $\gcd(a,7)\neq 1$ (see above).
What you have correctly established the following:
If $a|bc$, then $a|\gcd(a,b)c$.
You may think of that as a generalization of Euclid's lemma (since it yields Euclid's Lemma when $\gcd(a,b)=1$); but you cannot go from that to deduce $a|c$.
As to proving that statement, what you have works: let $d=\gcd(a,b)$. There exist $x,y\in\mathbb{Z}$ such that $ax+by=d$, hence $axc+bcy=dc$. Since $a|axc$ and $a|bcy$, then $a|dc=\gcd(a,b)c$, as desired.
But that's where you get stopped. You cannot go further if $\gcd(a,b)\neq 1$.