What do you think about eating food which you like and then going to the toilet and forcing yourself to throw up the food which you just ate such that you can have the pleasure of eating the same food again. Is not this a violation of the purpose of eating? As the main purpose of the food is to give us energy and sustain our bodies, and we abuse its purpose when we misuse it for something else, for example: solely for pleasure or to give us temporarily a good feeling.
In exactly the same sense, the sexual intercourse's main purpose is not only for pleasure but also to beget children. Hence it is wrong to separate the two. (Trent Horn, Contraception movie)
https://www.catholic.com/tract/birth-control
https://shop.catholic.com/the-case-against-contraception-digital/