Does the word "credit" mean the same thing in "I give you credit for owning up to your mistake." and "Give her credit for trying."?
the same meaning