> It doesn't say anything about the inverse.
Interpreted as a literal propositional statement, it's saying "if you have a good attitude, then you will have success". Therefore if you do not have success, it must be because you did not have a good attitude, which is your fault. It's the contrapositive, right?