Strive to Enter? Run the Race?

Why did Jesus say to “work hard” or “strive” to enter through the narrow door? Why does Paul talk about “running a race” and trying to “win”? Does daily confession cause God to forgive us more?