I don't think it's a competition but what they have isn't really friendship but a deep understanding of each other and being mirrors to an extent that makes other people including Joker's friends uncomfortable because Akechi's more like... Joker's one selfish desire