The short answer, i found, is a point of view from an official Google source:
".. It’s worth noting that in the eyes of Google and other search engines, all TLDs are equal.."
It says, technically the chosen domain ending doesn't affecting your website's SEO ranking.
You still may worth to do research about what other possible other (global) TLD-s might be proper for your website / project / business. All major domain providers' websites offering suggestions and lists of hundreds of available TLDs, worth to check through their lists and make your own Top 5-10 most relevant alternative TLD choices for your project before purchasing the winning one.
It may affect rather mental ways how the people perceive and remember your website's domain. More common TLD-s are usually statistically performing somewhat better because people might try to type them at the end of a website which they are not sure about it's exact TLD domain ending, etc. This might bring some extra visitor traffic compared to the less common TLDs.
However: it's worth to research it thoroughly, because some TLDs are regarded as more spammy and harmful than others. For example many major SEO softwares, backlink tools are measuring a linking website's possible quality and 'spam-factor' also based on what TLD it using. Some TLD-s are more popular for spam sites, etc.
So useful to check some negative TLD top lists about what surely not to choose.. (unless you plan to start some shady business which we honestly wish you don't :)