You are correct! HBr is stronger than HCl (group) which is stronger than H2S (period) which is stronger than H2O (group).