She said she was sick, but it was a lie.

Literal

She [topic-は] sick [quotative-と] said [but-が], that [topic-は] lie was.

それはうそだった — a blunt revelation. The ~が connects the claim to its refutation.