Keeping yourself busy with the activities you love is more important than wasting several hours of your time on the things that you won’t love. Everyone’s time is limited on this planet. You can’t waste it by doing activities you don’t love.
Sometimes, it’s okay to do such activities, just because you want to get rid of it. Finish your undergraduate, then do what you really want to.
For example, if you don’t love coding, you can’t learn it just because somebody is forcing you to learn. You need to have genuine interest. Only when you develop an interest, you can work more in that field.