Armor of Agathys is a great spell and only gets better as you gain higher-level spell slots. If you are playing a character that has access to this spell, you should pick it.