Three Tests – Deuteronomy
God expects total commitment from his people.
10 “And when the Lord your God brings you into the land that he swore to your fathers, to Abraham, to Isaac, and to Jacob, to give you—with great and good cities that you did not build, 11 and houses full of all good things that you did not fill, and cisterns that you did not dig, and vineyards and olive trees that you did not plant—and when you eat and are full, 12 then take care lest you forget the Lord, who brought you out of the land of Egypt, out of the house of slavery. 13 It is the Lord your God you shall fear. Him you shall serve and by his name you shall swear. 14 You shall not go after other gods, the gods of the peoples who are around you— 15 for the Lord your God in your midst is a jealous God—lest the anger of the Lord your God be kindled against you, and he destroy you from off the face of the earth.
16 “You shall not put the Lord your God to the test, as you tested him at Massah. 17 You shall diligently keep the commandments of the Lord your God, and his testimonies and his statutes, which he has commanded you. 18 And you shall do what is right and good in the sight of the Lord, that it may go well with you, and that you may go in and take possession of the good land that the Lord swore to give to your fathers 19 by thrusting out all your enemies from before you, as the Lord has promised.
20 “When your son asks you in time to come, ‘What is the meaning of the testimonies and the statutes and the rules that the Lord our God has commanded you?’ 21 then you shall say to your son, ‘We were Pharaoh's slaves in Egypt. And the Lord brought us out of Egypt with a mighty hand. 22 And the Lord showed signs and wonders, great and grievous, against Egypt and against Pharaoh and all his household, before our eyes. 23 And he brought us out from there, that he might bring us in and give us the land that he swore to give to our fathers. 24 And the Lord commanded us to do all these statutes, to fear the Lord our God, for our good always, that he might preserve us alive, as we are this day. 25 And it will be righteousness for us, if we are careful to do all this commandment before the Lord our God, as he has commanded us.’
A Chosen People
7:1 “When the Lord your God brings you into the land that you are entering to take possession of it, and clears away many nations before you, the Hittites, the Girgashites, the Amorites, the Canaanites, the Perizzites, the Hivites, and the Jebusites, seven nations more numerous and mightier than yourselves, 2 and when the Lord your God gives them over to you, and you defeat them, then you must devote them to complete destruction.  You shall make no covenant with them and show no mercy to them. 3 You shall not intermarry with them, giving your daughters to their sons or taking their daughters for your sons, 4 for they would turn away your sons from following me, to serve other gods. Then the anger of the Lord would be kindled against you, and he would destroy you quickly. 5 But thus shall you deal with them: you shall break down their altars and dash in pieces their pillars and chop down their Asherim and burn their carved images with fire.
6 “For you are a people holy to the Lord your God. The Lord your God has chosen you to be a people for his treasured possession, out of all the peoples who are on the face of the earth. 7 It was not because you were more in number than any other people that the Lord set his love on you and chose you, for you were the fewest of all peoples, 8 but it is because the Lord loves you and is keeping the oath that he swore to your fathers, that the Lord has brought you out with a mighty hand and redeemed you from the house of slavery, from the hand of Pharaoh king of Egypt. 9 Know therefore that the Lord your God is God, the faithful God who keeps covenant and steadfast love with those who love him and keep his commandments, to a thousand generations, 10 and repays to their face those who hate him, by destroying them. He will not be slack with one who hates him. He will repay him to his face. 11 You shall therefore be careful to do the commandment and the statutes and the rules that I command you today.
12 “And because you listen to these rules and keep and do them, the Lord your God will keep with you the covenant and the steadfast love that he swore to your fathers. 13 He will love you, bless you, and multiply you. He will also bless the fruit of your womb and the fruit of your ground, your grain and your wine and your oil, the increase of your herds and the young of your flock, in the land that he swore to your fathers to give you. 14 You shall be blessed above all peoples. There shall not be male or female barren among you or among your livestock. 15 And the Lord will take away from you all sickness, and none of the evil diseases of Egypt, which you knew, will he inflict on you, but he will lay them on all who hate you. 16 And you shall consume all the peoples that the Lord your God will give over to you. Your eye shall not pity them, neither shall you serve their gods, for that would be a snare to you.
17 “If you say in your heart, ‘These nations are greater than I. How can I dispossess them?’ 18 you shall not be afraid of them but you shall remember what the Lord your God did to Pharaoh and to all Egypt, 19 the great trials that your eyes saw, the signs, the wonders, the mighty hand, and the outstretched arm, by which the Lord your God brought you out. So will the Lord your God do to all the peoples of whom you are afraid. 20 Moreover, the Lord your God will send hornets among them, until those who are left and hide themselves from you are destroyed. 21 You shall not be in dread of them, for the Lord your God is in your midst, a great and awesome God. 22 The Lord your God will clear away these nations before you little by little. You may not make an end of them at once,  lest the wild beasts grow too numerous for you. 23 But the Lord your God will give them over to you and throw them into great confusion, until they are destroyed. 24 And he will give their kings into your hand, and you shall make their name perish from under heaven. No one shall be able to stand against you until you have destroyed them. 25 The carved images of their gods you shall burn with fire. You shall not covet the silver or the gold that is on them or take it for yourselves, lest you be ensnared by it, for it is an abomination to the Lord your God. 26 And you shall not bring an abominable thing into your house and become devoted to destruction  like it. You shall utterly detest and abhor it, for it is devoted to destruction.
Remember the Lord Your God
8:1 “The whole commandment that I command you today you shall be careful to do, that you may live and multiply, and go in and possess the land that the Lord swore to give to your fathers. 2 And you shall remember the whole way that the Lord your God has led you these forty years in the wilderness, that he might humble you, testing you to know what was in your heart, whether you would keep his commandments or not. 3 And he humbled you and let you hunger and fed you with manna, which you did not know, nor did your fathers know, that he might make you know that man does not live by bread alone, but man lives by every word  that comes from the mouth of the Lord. 4 Your clothing did not wear out on you and your foot did not swell these forty years. 5 Know then in your heart that, as a man disciplines his son, the Lord your God disciplines you. 6 So you shall keep the commandments of the Lord your God by walking in his ways and by fearing him. 7 For the Lord your God is bringing you into a good land, a land of brooks of water, of fountains and springs, flowing out in the valleys and hills, 8 a land of wheat and barley, of vines and fig trees and pomegranates, a land of olive trees and honey, 9 a land in which you will eat bread without scarcity, in which you will lack nothing, a land whose stones are iron, and out of whose hills you can dig copper. 10 And you shall eat and be full, and you shall bless the Lord your God for the good land he has given you.
11 “Take care lest you forget the Lord your God by not keeping his commandments and his rules and his statutes, which I command you today, 12 lest, when you have eaten and are full and have built good houses and live in them, 13 and when your herds and flocks multiply and your silver and gold is multiplied and all that you have is multiplied, 14 then your heart be lifted up, and you forget the Lord your God, who brought you out of the land of Egypt, out of the house of slavery, 15 who led you through the great and terrifying wilderness, with its fiery serpents and scorpions and thirsty ground where there was no water, who brought you water out of the flinty rock, 16 who fed you in the wilderness with manna that your fathers did not know, that he might humble you and test you, to do you good in the end. 17 Beware lest you say in your heart, ‘My power and the might of my hand have gotten me this wealth.’ 18 You shall remember the Lord your God, for it is he who gives you power to get wealth, that he may confirm his covenant that he swore to your fathers, as it is this day. 19 And if you forget the Lord your God and go after other gods and serve them and worship them, I solemnly warn you today that you shall surely perish. 20 Like the nations that the Lord makes to perish before you, so shall you perish, because you would not obey the voice of the Lord your God. (ESV)