The intention was to sacrifice Aliah's life. Unintentionally, Princess Jasmine had given Aliah the chance to make a name for herself within the kingdom instead.
By being at the side of the beloved first Princess.
Aliah gained a reputation as a special and favored maid, which brought her much recognition, praise, and contempt.
This recognition undoubtedly elevated her status among her peers, granting her a level of notoriety that she would not have achieved with her current state and status.
Princess Jasmine's decision to allow Aliah to become a scapegoat for the first Princess's death may have been a calculated one, but it ultimately gave Aliah the opportunity to rise to a level of prominence that would not have been possible otherwise.
The higher the climb, the harder the fall.