So the Pharisee did not think he was getting to heaven because he obeyed the law?
where do you get this from?
From the Jesus of the Bible.
John 7:
19 Did not Moses give you the law, and
yet none of you keepeth the law? Why go ye about to kill me?
Matt. 15:
3 But he answered and said unto them,
Why do ye also transgress the commandment of God by your tradition?
7 Ye hypocrites, well did Esaias prophesy of you, saying,
8 This people draweth nigh unto me with their mouth, and honoureth me with
their lips; but their heart is far from me.
9 But in vain they do worship me, teaching for doctrines the commandments of men.
Rom. 1:
21 Because that, when they knew God,
they glorified him not as God, neither were thankful; but became vain in their imaginations, and their foolish heart was darkened.
22 Professing themselves to be wise, they became fools,
23 And changed the glory of the uncorruptible God into an image made like to corruptible man, and to birds, and fourfooted beasts, and creeping things.
Rom. 10:
1 Brethren, my heart's desire and prayer to God for Israel is, that they might be saved.
2 For I bear them record that they have a zeal of God, but not according to knowledge.
3 For they being ignorant of God's righteousness, and going about to establish their own righteousness,
have not submitted themselves unto the righteousness of God.
John 8:
38 I speak that which I have seen with my Father: and ye do that which ye have seen with your father.
39 They answered and said unto him,
Abraham is our father. Jesus saith unto them,
If ye were Abraham's children, ye would do the works of Abraham.
Gen. 26:
4 And I will make thy seed to multiply as the stars of heaven, and will give unto thy seed all these countries; and in thy seed shall all the nations of the earth be blessed;
5 Because that Abraham obeyed my voice, and kept my charge, my commandments, my statutes, and my laws.
John. 8:
43 Why do ye not understand my speech?
even because ye cannot hear my word.
44 Ye are of your father the devil, and the lusts of your father ye will do. He was a murderer from the beginning, and abode not in the truth, because there is no truth in him. When he speaketh a lie, he speaketh of his own: for he is a liar, and the father of it.
45
And because I tell
you the truth, ye believe me not.
Matt. 24:
23 Woe unto you, scribes and Pharisees, hypocrites! for ye pay tithe of mint and anise and cummin,
and have omitted the weightier matters of the law,
judgment, mercy, and faith:
these ought ye to have done, and not to leave the other undone.
Jer. 5:
30 A wonderful and horrible thing is committed in the land;
31 The prophets prophesy falsely, and the priests bear rule
by their means;
and my people love to have it so: and what will ye do in the end thereof?
Jer. 6:
13 For from the least of them even unto the greatest of them every one
is given to covetousness;
and from the prophet even unto the priest every one dealeth falsely.
14 They have healed also the hurt
of the daughter of my people slightly, saying, Peace, peace; when
there is no peace. (saying "you are saved")
Jer. 29:
8 For thus saith the LORD of hosts, the God of Israel; Let not your prophets and your diviners,
that be in the midst of you, deceive you, neither hearken to your dreams which ye cause to be dreamed.
9 For they prophesy falsely unto you in my name: I have not sent them, saith the LORD.
I could go on and on EG.
The Mainstream Christian teaching that the Jews were trying to get to heaven by following God's Laws is a cleaver, subtle lie, but a lie just the same.
Not only did they reject God's Commandments and create their own, it was prophesied that they would do this over and over.
You might be able to twist a scripture or two to further the claim that the Pharisees were trying to please God by obeying Him, but the Bible overall teaches just the opposite.
One such scripture that is used to support this false preaching is:
Rom. 9:
31 But Israel, which followed after the law of righteousness, hath not attained to the law of righteousness.
32 Wherefore? Because
they sought it not by faith,
but as it were by the works of the law. For they stumbled at that stumblingstone;
The Jews had created their own religion centered around the Levitical Priesthood ceremonial, sacrificial "Works of the Law" for remission of sins and had corrupted the very meaning of this "ADDED" Law. They trusted in the sacrifices and Levitical ceremonies to cleanse them, not Jesus and His Blood.
There are a few undisputed Biblical Truths in the bible. One such truth is the Biblical fact that the Pharisees WERE NOT TRYING TO GET TO HEAVEN BY OBEYING GOD, rather, they were trying to get to heaven by their OWN RIGHTEOUSNESS, and were rejected by Jesus because they refused to submit to the Righteousness of God.
So in answer to your question:
So the Pharisee did not think he was getting to heaven because he obeyed the law?
where do you get this from?
I have answered, or rather, I have shown you God's answer. I hope it was clear and thorough enough for you to understand.