If you were owed money by an individual who repeatedly refused to pay and out of frustration you texted them and told them to keep it would that count against you if you took them to court at a later date. I don't know if they still have the text.
No expert but I 'd have thought it would show it was a gift and non-returnable. That said the text may no longer exist and now all they have is your confession here.