Or did he do something to ensure he would be safe?
Thanos is supposedly the only Titan alive so he would've conveniently bypassed the rule.