When you migrate OBIEE from 10g or 22.214.171.124 or 126.96.36.199 to a newer version it is important to know the supported upgrade paths.
If your objective is version 188.8.131.52.x (for example the latest 184.108.40.206.10) then first you has to go to 220.127.116.11.0. Afterward you can patch the version with opatch to 18.104.22.168.x. This way is described here by Oracle. Bear in mind that all patches are cumulative so you only has to take the latest one.
If your objective is version 22.214.171.124.x then you can directly go to this version. There is no need to take a stopover. This way is described here by Oracle.