The ancient paintings in Celestic Town's ruins do not depict Azelf, Mesprit, and Uxie (the Lake Guardians). Instead, they illustrate the Creation Trio:
These three, each tied to a lake guardian, drive the plot of Diamond/Pearl/Platinum. The murals hint at their primordial role in shaping the world and the need for balance among them. You may be conflating the two trios—they're distinct but connected.