The 七 and 八 refer to two historical rebellions (七国之乱 and 八王之乱) that threw China into chaos. The numbers stuck as a vivid way to say 'everything is in disorder.'
usage
Can describe physical mess (messy room) or abstract disorder (chaotic situation, jumbled thoughts).