Nation should join anti-terror efforts for peace, prosperity: President