A goodness-of-fit is when you want to know if a set of frequencies matches a known distribution.
Since you do not have a known distribution, you're not testing for goodness-of-fit.
You do want to know if treatment and result are dependent or not.
So indeed, you have a test for independence.
H0: treatment and result are independent
Ha: treatment and result are dependent
You have a p-value of 0,000000062
Typically you would test against an alpha of 0,05.
So your result is significant.
The statistical conclusion is that treatment with the drug has a significant effect on the success failure rate ( , p = 0,000000062).