Not sure what mistake in jabbas palace you mean( Unless you mean the rancor pit), But No, I'd say that Jabbas palce did inn a way go as planned, but not exactly.
First things first, by a little wiser, I mean more in the effect that he understands his limits, and is not going to charge in underestimating his opponent. this is showcased by how he handles himself in jabbas palace.
Luke planned as much as he could, made a few contingincy plans ( R2 carrying his saber, Lando arrivivng first, etc) And from there just kinda rolled with the punches. He was, To a point , able to predict and plan jabbas palace, but not entirely.
As the the Death Star Fight, Yes, His father saved him, But Luke took a calculated risk that his father would do it. He could Very Eaisly Have Killed his fatther ( He allmost does) and then Cut down Palpatine, "winning" the fight in a traditional way. But ddoing so, would hve meant turning to the dark path, and in so, he would also be loosing more than he would win. (IMHO)Palpatine was banking on Luke Breaking the same way his father did after Mace's death, if He killed Vader.
But insted of Killling the two of them, Luke Stops just short of killing his father, and appeals to the humanity in him, Wishing his fthers redemption, risking his owm life in the process.
It would be an incredable fight, And Maul Suffers from the same fatal flaw that al sith have, their overconfidance in their own superiority. As long as Luke can take advantage of that, He can win.
Honestly? My Money's on Luke.