Extraordinary circumstances allowed you to stay remote during a pandemic. Now that it's over, it's fair and expected that they want you to come into the office. Your original contract with them was you being an in-office employee.
There is nothing wrong with them aligning on promotions being tied to you fulfilling your obligations.
If this is all too much, there's absolutely nothing stopping you from leaving and finding a truly remote workplace.
(Disclaimer: I understand some people were hired as remote, told they'd remain remote, and are now being forced to come to the office or relocate. That sucks, and I'm sorry it's happening).