Bera may be the most audacious person in the Bible! He is also a type and shadow of the devil. First, he is a king who allowed and possibly encouraged his people to sin. He then takes part in a rebellion against his overlord with the other rulers of the Valley of Siddium. They lose to the coalition lead by Kedorlaomer. The kings with the armies go hide in the hills while their families and towns are looted. The rout and panic of his army was so bad they were falling in tar pits. Then he expects to get his stuff/people given back to him! (Genesis 14)
Abram and his friends come in and save the day, and are traveling back toward Salem probably heading to his village. Out of the hills/hiding come Bera and meets Abram in the Valley of Shaveh or king’s valley, which is identified as the valley near Jerusalem. (The only other mention of a king’s valley in the Bible is in 2 Samuel 18:18 in a reference of Absalom.) I am sure there are a lot of ways to look at the goods Abram recovered, but it is possible that not all of it belonged to the Jordan River valley kings. So Abram could have made claim to everything he had just won and really who was going to take it from him, the kings who had just lost it! So Abram honors the Lord and gives a tithe to Melchizedek. I think the wicked king was getting nervous about losing so much stuff with no chance of getting it back. To curb the flow of goods Bera ask/claims the people, so Abram tells him what is going to happen and why. The nerve of that guy to be asking or claiming anything is unbelievable. But one thing is for sure, Salem brought the party and Sodom brought nothing.
Bera, just like the devil, knows people are more valuable than goods. The riches could have been a distraction for Abram because once you have all of that stuff you have to fight to keep it and Bera would have had more people.
The lesson to be learned here is what Bera/the devil does to a Christian in a fight. Abram had gotten a victory and probably was just hoping for some quiet time. Out comes someone to congratulate you on the victory. Many times that person will be a distraction from what you need, which is what Melchizedek brought, something to refresh and strength you. We Christians usually equate the bread and wine with communion but the truth is Melchizedek was throwing a party (feeding) for the victor because they were tired. Abram wisely discerned that Bera and the goods were not the reason he went to battle, that was to get his family back and that mission was accomplished. Bera lost everything, hid while someone else got the job done, and still claimed he was owed something.