hashirama made it absolutely sure that madara is dead but in reality it was madara who made sure he gets his dna and wins the battle.hashi didnt even realized that he was beaten by madara and died in a battle afterwards wrongly believing he was victorios against madara.