Judges 2:2 And ye shall make no league with the inhabitants of this land; ye shall throw down their altars: but ye have not obeyed my voice: why have ye done this?
The response of God’s people to His Victory, Salvation, and Gift of Life was to be that they would not make a league, alliance, or covenant agreement with the inhabitants of the land. And even more, they were to throw down their altars. A faith relationship requires 100% trust and worship of the One True God. Any kind of bond with worshippers of false gods is forbidden. Any committed relationship with unbelievers opens the door to compromise of the Faith and to temptations to sin. And this is what happened to Israel.
The NT is clear: “Do not be unequally yoked with unbelievers. What partnership…what fellowship…what accord…what portion…what agreement….? [2 Corinthians 6:14-16].” 1 John 2:15: “Do not love the world or the things in the world, for the love of the father is not in him.” Making friends with the world makes one an enemy of God. The god of this world is violently opposed to the God of the spiritual world in which we dwell, and which dwells in us. We are very careful about any entanglements, bonds, or connections to the world or to the things and people of the world.
A true and happy life comes not a whit short of absolute, total commitment to our heavenly Father and our Lord Jesus Christ. Jesus was absolute, for us. We respond with absolute faith-fullness to Christ alone. We fail in that, but Jesus never fails.