Joshua 24
And if it seem evil unto you to serve the LORD, choose you this day whom ye will serve; whether the gods which your fathers served that were on the other side of the flood, or the gods of the Amorites, in whose land ye dwell: but as for me and my house, we will serve the LORD.
Deuteronomy 30
I call heaven and earth to record this day against you, that I have set before you life and death, blessing and cursing: therefore choose life,that both thou and thy seed may live
John 14
V15
If ye love me, keep my commandments
V21
He that hath my commandments, and keepeth them, he it is that loveth me: and he that loveth me shall be loved of my Father, and I will love him, and will manifest myself to him.
V23
Jesus answered and said unto him, If a man love me, he will keep my words: and my Father will love him, and we will come unto him, and make our abode with him. He that loveth me not keepeth not my sayings: and the word which ye hear is not mine, but the Father's which sent me.
We have freewill, we can either choose to serve God and do his will, or serve Satan and live by the lusts of our flesh. If we truly love Jesus we will keep his commandments, and if we truly love God we will do his will. If we don't we are putting ourselves first, we have a freewill to make that choice.