Yes, obedience to God, without having a relationship with Him is completely useless as far as concerns their status with God and as regards to what they can hope for in their eternity. Paul, a Pharisee - like other Pharisees - had been very strict to obey God in some ways at least (though...