The comments above are correct but just to be comprehensive, here's what the "Fide Laws of Chess taking effect from 1 January 2018" have to say as far what is relevant here:
www.fide.com/component/handbook/?id=208&view=article> "Article 9: The drawn game
> 9.2.1 The game is drawn, upon a correct claim by a player having the move, when the same position for at least the third time (not necessarily by a repetition of moves):"
plus a few extra things mostly relating to over the over the board tournament play along with conditions about en passant and castling which you're *probably* not likely to have to worry too much about online.
Note the remark in parenthesis - "not necessarily by a repetition of moves" - this needs to be mentioned because threefold repetition is commonly misunderstood as "three move" repetition as a result of "perpetual check".
Three move repetition is not correct. What threefold repetition is about is a board position repeating three times during a game + a correct claim on the fact.
This can be difficult to remember over the board when more than two pieces are being shuffled around - in fact in the Challengers section of the 2019 Tata Steel Chess tournament, one game had a *fourfold* repetition:
lichess.org/study/CViu1SJc/o4CUoX6h#122In the end, I wouldn't be surprised if the official scoresheet for that one implies that the players agreed to a draw without the assistance of the arbiter (which at that level you'd probably expect to happen *before* a threefold eventuates)!
Wikipedia lists several more examples too (including incorrect claims) - it's definitely not always simple to work out:
en.wikipedia.org/wiki/Threefold_repetitionBut fortunately with Lichess, probably less time/prize money is at stake and you can at least easily arrow back from the final position after a game and search for the same position occuring twice earlier.
In the case of your game: Bishop on e6, Rook e5 plus King on f4, and Queen g2.