A selection of verses showing that God asks us to be obedient to him.
The Israelites are promised that they will be precious to God if they obey him:
3 Moses went up to God, and the LORD called to him out of the mountain, saying, “This is what you shall tell the house of Jacob, and tell the children of Israel: 4 ‘You have seen what I did to the Egyptians, and how I bore you on eagles’ wings, and brought you to myself. 5 Now therefore, if you will indeed obey my voice, and keep my covenant, then you shall be my own possession from amongst all peoples; for all the earth is mine; 6 and you shall be to me a kingdom of priests, and a holy nation.’ These are the words which you shall speak to the children of Israel.”
God spells out to the Israelites the consequences of obeying or disobeying:
26 Behold, I set before you today a blessing and a curse: 27 the blessing, if you listen to the commandments of the LORD your God, which I command you today; 28 and the curse, if you do not listen to the commandments of the LORD your God, but turn away out of the way which I command you today, to go after other gods which you have not known.
The prophet Isaiah tells us that God takes notice of those who obey him:
2 For my hand has made all these things,
and so all these things came to be,” says the LORD:
“but I will look to this man,
even to he who is poor and of a contrite spirit,
and who trembles at my word.
The apostle Peter on two occasions is clear whom to obey when there is a conflict between obeying God or men:
19 But Peter and John answered them, “Whether it is right in the sight of God to listen to you rather than to God, judge for yourselves,
29 But Peter and the apostles answered, “We must obey God rather than men.