A $300 lens is objectively better than a $5 smartphone lens.
A $2000 lens may be objectively better than a $300 but it depends what you're standing in front of and you.
The Nikkor Z 28mm f/2.8 is my favourite so far and it wasn't exactly expensive.
The priority order for things is of course:
1. What the photographer is standing in front of
2. The photographer
3. The lens
4. The camera