Those endgames are worth learning not just for when they come up, but to help you recognize when you can make them come up. I can't count the number of games I've lost or drawn where I continued to grind away in the middlegame in a won position because I didn't recognize that there was a simplification down to a won endgame.
And I probably could count them lol. Guess it just depends on the player when endgames come up most? You'd think a positional player though would see more endgames.
When I say endgames though I'm thinking more about the technical stuff with all the rules you need to know. Many endgames can be alot like middlegame positions that call for a very positional plan (like opening lines on the kingside and queenside to create pawn weaknesses) but with kings.

as a relative beginer myself, i would say memorize a couple and try them out for yourself to see which (if any) work for you. It's always good to have options!!