Praying and making Dua does not mean that you don’t train your brain. Train it by all means but you have to know that the creator of the brain is also the one in whose hands all the outcomes are. It is my responsibility to work, it is his responsibility to give the outcome. Similarly, nothing wrong with yoga and other things. Shariat is the way to train ones self spiritually just as these self help are good for psychology