What if..

what if odin had collected all the infinity stones. Now, odins magic works in the tva while the infinity stones do not. so why would odin attempt to collect the infinity stones if he possesed a much greater power. and how did he just die like that since he is one of the strongest beings