A late comeback by Qatar defeated Bahrain 2-1 and secure their place in the AFC U-23 Asian Cup of 2026.