ANSWER: You ask a fascinating question that also puzzled Jesus' disciples. Their inquiry was generated when a rich young ruler came to him seeking to know what it took to receive eternal life (be saved). We find the account in the books of Matthew (19:16 - 26), Luke (18:18 - 27) and Mark (10:17 - 27).
18. And a certain ruler (who was both rich (verse 23) and young (Matthew 19:20)) asked Him, saying, "Good Master, what shall I do to inherit eternal life (be saved forever)?" (Luke 18:18, HBFV throughout)
The man was zealous to know about the Messiah. In addition, even though he was rich, he was not overtly arrogant or self-righteous like the Pharisees or other religious leaders. The book of Mark states that the man not only RAN toward Jesus but also knelt humbly in front of him before asking his question (Mark 10:17)!
Christ's response (which is one proof refuting the silly notion that Jesus came to do away with God's laws) was to tell the man he needed to keep the last six of the Ten Commandments (Matthew 19:17 - 19). These commandments center on how humans are to treat one another.
The rich man then stated he had kept these commandments since he was young. His character so impressed the Lord that the Bible says he loved him (Mark 10:21). Jesus then fully revealed to him what he still lacked in order to be saved.
Outside of the original twelve apostles, this is the only recorded time Jesus personally offered an individual a chance to be one of his close disciples. The young man, sadly, turned away the offer because he did not want to give up his possessions for the sake of God's Kingdom (Matthew 19:22).
The man kept the letter of God's laws but refused to keep their spiritual intent. He had made riches into an idol or god in his heart, which broke the spiritual intent of the first two commandments (Exodus 20:3 - 6). Such idolatry interfered with his relationship with God. He loved what the world had to offer more than what Jesus could give him.
Christ then told his disciples it was incredibly difficult for those who are wealthy to enter God's Kingdom. To illustrate his point, he gave a parable about how hard it was for a camel to go through the eye of a needle.
The disciples were astonished and dumbfounded at his answer. Both Matthew and Luke record the disciples asking Jesus, "Who then is able to be saved?" (Matthew 19:25, Luke 18:26). His answer was straightforward.
With men this is impossible; but with God all things are possible (Matthew 19:26)
Abraham, the father of the faithful, was rich in his day. Egypt's Pharaoh gave him a significant number of male and female servants, cattle and camels (Genesis 12:16). Abraham not only possessed wealth in animals and people, he also owned quite a bit of gold and silver (Genesis 13:2). Daniel and Job, whom God considered two of the three most righteous people who ever lived (Ezekiel 14:14), also were quite prosperous.
Yes, it IS possible for the rich to be saved, but only if God is working with them. Those who are wealthy must always place obedience to the Eternal and a relationship with him FIRST in their lives if they want salvation.