Panacea:  pan·a·ce·a ( noun ) :  a solution or remedy for all difficulties.
"the panacea for all ills"