Sinboi,
You have certainly been thinking critically and coming to your own conclusions. Wish I were like you when I was 16.
".....that yhwh is doing the same with the pagan believers. In his case, he needs to kill them..He cannot afford to let anyone influence the israelites"-------sinboi
Some things to think about:
Why didn't God also reveal himself to the Canaanites just as he did to Moses in the burning bush so that the massacre/genocide of the Canaanites could have been avoided?
God could have invited the native Palestinians into his covenant, given them the same laws he had given the Israelites, and established an egalitarian society where people of all races could live together in harmony.
Instead, he ordered his people to invade and slaughter the natives, killing them to the last man, woman and child, specifically instructing them to show no mercy to anyone under any circumstances.
What followed was a series of terrible, bloody battles in which tens of thousands of people died violently. Finally, God pronounced his campaign of genocide a success (Joshua 11:15).