My point was, your success does not depend on religion, or lack of it. Your success depends on you.
According to our beliefs our success depends on the will of Allah. , also being Muslim we try to strive to succeed in this world and afterlife too. Our success of afterlife is dependent on religion. The questioner is interested in both kinds of successes, Islam has formula for both kinds of successes.