The above posts are prime examples of how religious
doctrine teaches the opposite of the secrets people use
to attain success and happiness.
If you don't see what I mean and you'd like an explanation,
just let me know.
Christianity does not teach the opposite of "success." In fact, I'd say the Bible teaches the formula for success, even in today's fallen world.
Render therefore to all their dues: tribute to whom tribute is due; custom to whom custom; fear to whom fear; honour to whom honour. Owe no man any thing, but to love one another: for he that loveth another hath fulfilled the law. Romans 13:7-8 (KJV)
Pay your taxes if you owe them.
Pay your bills.
Have a healthy respect for those who deserve it.
Treat others with dignity and honor.
Don't borrow money, specifically, don't be in debt.
Have a loving attitude toward others.
Now, as for financial "success." That can be and is achieved through hard work, living with your means, and not being greedy or deceitful in business practices. (All of which are Biblical principles.)
Happiness - which you imply is in opposition to "religious doctrine" - is achieved by being content with what you have as opposed to always seeking and wanting more and more. (Another Biblical tenet.) It is also reached by being less focused on yourself and your own self interest and being more considerate of others. (Yet another thing the Bible teaches. Seems there's a trend here.)
The problem is that we live in a world where it's implied, if not flat out stated, that "success" means owning multiple homes that are large enough to house a small army, having a new car every year or two, wearing clothes and jewelry that costs more than some people make in an entire year, and having any number of servants in one form or another at your beck and call. I have none of those things, yet am financially stable, out of debt, and perfectly happy. Blissfully so most of the time. And I'm a Christian.
I think the real question of the OP was why God allows those who don't believe in, follow, or honor Him to prosper. Answer: we have free will. God isn't going to step in and zap every single person with a lighting bolt from the sky if they devote their lives to getting rich while choosing to reject Him. That's their choice. It rains on the just and the unjust. (Matt 5:45). Sometimes bad things happen to good people and good things happen to bad people. That's just the way the (fallen) world works. But there will come a day when our choices will be judged and for those who lived their lives rolling in dough but rejected God, the consequences will be eternally horrible. Again, it all comes back to our idea of "justice" and "fair" and the reality that God sees, knows and understands things we can't even conceive of. His ways are perfect, His justice is perfect, and His judgment upon all mankind is perfect.