In fact, the reason why the ring finger and the little finger are not harmonious is because they are always used less in daily life and lack of exercise, so they are not as good as other fingers in flexibility, coordination and strength.
Most piano master students practice since childhood, so their fingers are so flexible.
I suggest you try to train your ring finger and little finger more to improve their flexibility and coordination. Many people succeed through hard training. I learned the piano as a "monk" and have a deep understanding.
I sincerely wish you success!