There are levels to sin. Not all sins are equal.Just because one prays all salats does not make him better he could be doing it for the wrong reasons. Could backbite a lot of other brothers. Could have a foul mouth. Did you know what causes most people to go to Jahanam is a slippery tongue.
A bad muslim according to islam is better than a saintly atheist