No. You seem to have the right idea, but not quite grasped what you're counting.
In order to reach the third success on the eighteenth try, you must have _two successes_ and _fifteen failures_ in some arrangement among the first seventeen, then _one more_ success on the eighteenth try.
So count the ways to select two from seventeen, then multiply by the probability of three successes and fifteen failures.
> #$$\mathsf P(X_3=18)~=~{^{17}\mathrm C_{2}}\cdot\tfrac{5^{15}}{6^{18}}$$