It wasn't until I inverted the passage that it became clearer to me.
The Lord is not my shepherd, I shall be in want. (This means if I constantly want something, then the Lord may not be my shepherd.)
He doesn’t make me lie down in green pastures,
He doesn’t lead me beside still waters,
He doesn’t restore my soul.