"Why do you need to learn to swim even if you don't plan to become a swimmer?"
Because swimming is not just a sport.
It's a safety skill... and fitness... and confidence... and the ability to deal with water.
Learn to swim... even if you won't enter a single competition.