US gymnast Simone Biles did the right thing by withdrawing from events at the Tokyo Olympics if she was not in the right frame of mind to compete, former world golf number one Rory McIlroy has said.

Less than 24 hours after Biles had sent shockwaves around the world by dropping out of the team event, the American said she would not take part in Thursday's all-around final to protect her mental health.

McIlroy, who is a US resident, said Biles was the face of the Olympics coverage in the US and he understood the heavy burden on the 24-year-old who had been expected to become the greatest female Olympian during her bid for a record six gold medals.

"The weight on her shoulders is massive. Just as I thought Naomi Osaka was right to do what she did at the French Open and take that time off and get herself in the right space, I 100% agree with what Simone's doing as well," McIlroy told reporters after he completed his first round in the men's strokeplay event at the Games.

Simone Biles had been set to bid for six gold medals

Tennis world number two Osaka had brought the issue of mental health into sharp focus earlier this year when she pulled out of the French Open and Wimbledon due to "social anxiety" over the media's line of questioning.

"You have to put yourself in the best position physically and mentally," McIlroy added. "If you don't think you're at that, then you're going to have to make those decisions.

"I was certainly very impressed, especially with those two women to what they did and put themselves first."
McIlroy has won every major except the Masters and he said the pressure to lift the trophy had been "unpleasant at times" but that he had learned to deal with it in recent years.

"(The pressure) is just a part of what I do and where I find myself in my career," the 32-year-old said. "Some people just have thicker skin than some others and can maybe handle it a little better and are predisposed to handle it better.

"The conversation is not taboo anymore, people can talk about it. Just as someone has a knee or an elbow injury, if you don't feel right 100% mentally, then that's an injury, too.

"I certainly have a few more tools in my mental toolbox to deal with things than I maybe had a few years ago."

Irish gymnast Rhys McClenaghan said Biles' decision was a "wise choice"

Irish Olympic gymnast Rhys McClenaghan has also backed Biles' decision.

McClenaghan, who will compete in Sunday's Olympic men's pommel horse final, said: "My closest guess to what is going on in Simone's head is that she’s having a mental block, or as she says, she's 'having the twisties’.

"Put yourself in her shoes. Imagine you have qualified to the Olympic Games. You're the favourite to win and all of a sudden you cannot do gymnastics properly.

"It is probably one of the scariest experiences you can ever experience. It’s something I’ve experienced first hand in multiple competitions.

"I think its such a wise choice with her and body mind that she’s been able to make that call to pull out of the competitions and just focus on reducing those stress levels."

The 22-year-old from Co Down added: "I think this is going to be a momentary lapse for her because in every other aspect of her career she's just shown confidence in all of her skills.

"So I really don't think this is a terminal issue. I believe she'll be back and better than ever."