See title
If you grabbed it from somewhere like itch.io or OpenGameArt where the author is clear, it's a good idea.
If it's a font on your computer or part of a default package like TextMeshPro, it's not necessary.
Use your discretion.
Does using a font from somewhere like itch.io or OpenGameArt limit your grpahics to 4 stars?
No, fonts are an exception unless they're a major part of the game art