As above (assuming you have a 2006 or newer bike).
The rear brake is linked and has to be bled in the correct order.
The lower right piston pair has a separate bleeder and is actuated with the rear brake pedal. It is NOT connected with the front brake lever.
Bleed the front lower right piston pair first, using the rear brake lever and reservoir.
Bleed the rear brake caliper.
This is a very common issue and is almost always rectified by bleeding in the proper order.
If the brake is still a bit soft, it sometimes helps to hang a weight on the rear brake pedal overnight and then bleed again.
As noted above, make sure that the rear brake pedal has been cleaned and lubricated - cannot be done properly without removing it.
Running the ABS pump during/after flushing the brake circuits is recommended.
https://www.fjrforum.com/threads/test-and-maintain-your-abs-system.136000/