As a first step, I'd recommend using the First bus app rather than Google Maps for planning out your bus journey or checking live bus locations and times. Google Maps hasn't had reliable timetable info for buses for a year or two.
But that aside, what you describe is quite strange: "it goes in a wrong route but ends up in the destination I want." What bus number?